refactor osm-doc