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="Dohu_Koukai" />
  </query-continue>
  <query>
    <allredirects>
      <r ns="0" title="B. S. Sacramenti" />
      <r ns="0" title="Bakonawa&#039;s Lake" />
      <r ns="0" title="Bakuretsu Kunai" />
      <r ns="0" title="Bangungot&#039;s Hospital" />
      <r ns="0" title="Cast-off Cicada Shell" />
      <r ns="0" title="Change Materials Guide" />
      <r ns="0" title="Change Materials Guidebook" />
      <r ns="0" title="Crimson Fire Blossom" />
      <r ns="0" title="Crimson Fire Formation" />
      <r ns="0" title="Defender" />
    </allredirects>
  </query>
</api>