Flatten ways from OpenStreetMap XML to datamaps format