GeometryCollections are not properly encoded in encodeGeomCollection function in MfGeoJSONWriter class. You need to swap the first two lines in the function: builder.key("geometries"); builder.array();
GeometryCollections are not properly encoded in encodeGeomCollection function in MfGeoJSONWriter class.
You need to swap the first two lines in the function:
builder.key("geometries");
builder.array();