Parse OSM maps to a home-made JSON format