Converts the object to a JSON representation.
@override List<String> toJson() { return values.map((e) => e.toString()).toList(); }