Fix response type to be application/json

This will fix #3