geometry
Geometry payload. The API accepts different shapes depending on format:
format_in = "geojson" -> a GeoJSON LineString object
format_in = "polyline" -> [lon,lat, lon,lat, ...]
format_in = "encodedpolyline5/6"-> a single encoded polyline string
Using JsonElement keeps this field flexible for all variants.