Fix osm object type and id