Add raw response format

I particularly needed to add this for the export api since the ec2 server I'm working with is running out of memory.