Adds better handling for geometries.json