Node/Express middleware to record requests to third-party API's.