separate polygon simplification from geojson object