modified extract to use change2osm as library