refactor out functionality of generating CSV of logged requests to a browser view.