fixing format of urls in json format