url-to-string conversion