Converts the metadata to JSON.
@override Map<String, dynamic> toJson() { return {"int": value.toString()}; }