A good way to do this would be  to use `req.accepts('text/csv')`/ `req.accepts('application/json')` and send an `Accepts:` header with your request