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>
    <allpages gapcontinue="Realm_of_Chaos_(Allies)" />
  </query-continue>
  <query>
    <pages>
      <page pageid="8366" ns="0" title="Ready or Not">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{scenario
|scenario={{PAGENAME}}
|description=A war is coming... ready or not. Your enemies are charging... ready or not. You'll have to win... ready or not. Otherwise, they'll bury you... ready or not!
}}</rev>
        </revisions>
      </page>
      <page pageid="8367" ns="0" title="Realm of Chaos">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{scenario
|scenario={{PAGENAME}}
|description=Good wishes to destroy Evil, the Neutrals just want everything for themselves, and Evil wants to destroy the world! Of course, everyone has their own plans on how to accomplish their devious plans...
}}</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>