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 garcontinue="IRidium_Script_DDK" />
  </query-continue>
  <query>
    <pages>
      <page ns="0" title="Global Cache: Working with IR Devices" missing="" />
      <page pageid="186" ns="0" title="HWID, Serial number" />
      <page pageid="1274" ns="0" title="I2 Control V.2.2 for Mac" />
      <page pageid="1253" ns="0" title="I2 Control V2.2 for Android" />
      <page pageid="1251" ns="0" title="I2 Control V2.2 for Apple iOS" />
      <page pageid="1252" ns="0" title="I2 Control V2.2 for Mac" />
      <page pageid="1250" ns="0" title="I2 Control V2.2 for Windows" />
      <page pageid="537" ns="0" title="IRidium DDK" />
      <page pageid="981" ns="0" title="IRidium FAQ" />
      <page pageid="2" ns="0" title="IRidium Script API" />
    </pages>
  </query>
</api>