Fix for json geometries