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-continue>
    <allredirects arcontinue="Logging" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="Ban and exception lists" />
      <r ns="0" title="Basic Server Settings" />
      <r ns="0" title="Capture The Flag" />
      <r ns="0" title="Compatibility Options" />
      <r ns="0" title="Compiling the Launcher using Code::Blocks" />
      <r ns="0" title="Compiling using Code::Blocks" />
      <r ns="0" title="Compiling using Microsoft Visual Studio" />
      <r ns="0" title="Development roadmap" />
      <r ns="0" title="Ending Games" />
      <r ns="0" title="Frequently Asked Questions" />
    </allredirects>
  </query>
</api>