Return a JSON encoding of this object.
@override Map<String, dynamic> toJson() => {Serializable.CLASS_IDENTIFIER: dataType}..addAll(datapoint.toJson());