allow user to set whether there is a header
Content negotiation, support for JSON and JSONP