Change geojson generation to just create the Polygon object directly