You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <tags>
      <tag name="visualeditor" displayname="&lt;a href=&quot;/index.php?title=WikiResearcher:VisualEditor&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WikiResearcher:VisualEditor (page does not exist)&quot;&gt;VisualEditor&lt;/a&gt;" description="Edit made using the [[Project:VisualEditor|VisualEditor]]" hitcount="2" />
      <tag name="visualeditor-needcheck" displayname="&lt;a href=&quot;/index.php?title=WikiResearcher:VisualEditor&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WikiResearcher:VisualEditor (page does not exist)&quot;&gt;VisualEditor: Check&lt;/a&gt;" description="Edit made using the [[Project:VisualEditor|VisualEditor]] where the system detected the wikitext possibly having unintended changes." hitcount="0" />
      <tag name="visualeditor-switched" displayname="&lt;a href=&quot;/index.php?title=WikiResearcher:VisualEditor&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WikiResearcher:VisualEditor (page does not exist)&quot;&gt;VisualEditor: Switched&lt;/a&gt;" description="User started to edit using VisualEditor then changed to the wikitext editor." hitcount="0" />
    </tags>
  </query>
</api>