Merge pull request #24 from apigee/fixes-for-content-type Fixing json2xml to inspect headers in a more elegant way.