Converts the metadata to JSON.
@override Map<String, dynamic> toJson() { return {"list": value.map((e) => e.toJson()).toList()}; }