Fixed a bug where no content types would raise an error
Added a basic framework for converting the JSON into XML