Convert User-Agent & Request-Url to string before truncating.