Simplify GeoJSON type when possible