title: WSO2 API Manager Auth error content type
body: <p>I have WSO2 API Manager configured and everything seems to work fine.</p>
  
  <p>The only issues bothering me is that in case of an Auth exception, the API manager always returns the response with XML content type, e.g.,</p>
  
  <pre><code>&lt;ams:fault xmlns:ams="http://wso2.org/apimanager/security"&gt;&lt;ams:code&gt;900904&lt;/ams:code&gt;&lt;ams:message&gt;Access Token Inactive&lt;/ams:message&gt;&lt;ams:description&gt;Access failure for API: /exchange, version: 1.0 with key: 1139a466ebfd825aca953ad7259b9f45&lt;/ams:description&gt;&lt;/ams:fault&gt;
  </code></pre>
  
  <p>In case of client communicates with my web service with JSON format, the XML response will look a little bit strange.</p>
  
  <p>Is there any ideas how to make API Manager provide error response in JSON format?</p>