title: TFS rest API return parameters in XML
body: <p>The curl command for the API </p>
  
  <blockquote>
    <p><a href="http://0.0.0.0:8080/tfs/DefaultCollection/_apis/wit/workItems/3985?fields=Microsoft.VSTS.TCM.LocalDataSource&amp;api-version=4.1" rel="nofollow noreferrer">http://0.0.0.0:8080/tfs/DefaultCollection/_apis/wit/workItems/3985?fields=Microsoft.VSTS.TCM.LocalDataSource&amp;api-version=4.1</a></p>
  </blockquote>
  
  <p>and this code return a JSON that the field inside is XML from some reason</p>
  
  <pre><code>{"id":3985,"rev":28,"fields":{"Microsoft.VSTS.TCM.LocalDataSource":"&lt;NewDataSet&gt;&lt;xs:schema id='NewDataSet' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:msdata='urn:schemas-microsoft-com:xml-msdata'&gt;&lt;xs:element name='NewDataSet' msdata:IsDataSet='true' msdata:Locale=''&gt;&lt;xs:complexType&gt; &lt;xs:choice minOccurs='0' maxOccurs = 'unbounded'&gt;&lt;xs:element name='Table1'&gt;&lt;xs:complexType&gt;&lt;xs:sequence&gt;&lt;xs:element name='PatientIDType' type='xs:string' minOccurs='0' /&gt;&lt;xs:element name='PatientFile' type='xs:string' minOccurs='0' /&gt;&lt;/xs:sequence&gt;&lt;/xs:complexType&gt;&lt;/xs:element&gt;&lt;/xs:choice&gt;&lt;/xs:complexType&gt;&lt;/xs:element&gt;&lt;/xs:schema&gt;&lt;Table1&gt;&lt;PatientIDType&gt;Identity N0&lt;/PatientIDType&gt;&lt;PatientFile&gt;335277730&lt;/PatientFile&gt;&lt;/Table1&gt;&lt;Table1&gt;&lt;PatientIDType&gt;Passport N0&lt;/PatientIDType&gt;&lt;PatientFile&gt;335277731&lt;/PatientFile&gt;&lt;/Table1&gt;&lt;Table1&gt;&lt;PatientIDType&gt;Random ID&lt;/PatientIDType&gt;&lt;PatientFile&gt;335277732&lt;/PatientFile&gt;&lt;/Table1&gt;&lt;Table1&gt;&lt;PatientIDType&gt;Identity N0&lt;/PatientIDType&gt;&lt;PatientFile&gt;335277733&lt;/PatientFile&gt;&lt;/Table1&gt;&lt;/NewDataSet&gt;"},"url":"http://0.0.0.0:8080/tfs/DefaultCollection/_apis/wit/workItems/3985"}
  </code></pre>
  
  <p>How can the API return from the request only the <strong>"Microsoft.VSTS.TCM.LocalDataSource"</strong> ?</p>
  
  <p>and return instead XML format in JSON format ?  </p>