specify accept header, 'uploads.json' returns 'text/plain' by default