fixed up the response end of things. removed support for all but JSON
responses