flatten multipart geometries and geometrycollections in geojson