Remove get_osm_info from common_helpers.py and add it to rest_lib