Mixed response filtering

Ran across a case where a json response had a content type header of
application/xml. Because of this, I'm now just attempting to parse JSON,
then XML, then dumping anything after that.