Escape characters in url.format property