Returns a json representation of a Batchable instance.
@override String toJson() => json.encode(toMap());