prep geometries json with featurecollections.