Enforce endpoint <-> geojson type check.
Enforce endpoint <-> geojson type check.

This is to avoid subtle hard to detect bugs
when trying to decode the geoJSON into the wrong type.
E.g. multypolgon using the polygon endpoint.

giulioungaretti/globo