Serializes this as a JSON object.
this
@override List<String> toJson() => values.map((shapeId) => shapeId.toJson()).toList();