Converts the MPPolygon to a JSON representation that can be parsed by the MapsIndoors Platform SDK
@override Map<String, dynamic> toJson() => {"coordinates": coordinates, "bbox": bbox, "type": type};