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"?>
      <page pageid="1" ns="0" title="Main Page">
          <rev user="MediaWiki default" anon="" timestamp="2016-03-22T17:50:33Z" comment="" />
          <rev user="Kerry" timestamp="2016-03-22T18:05:52Z" comment="Replaced content with &quot;This Site is under construction.  Please check back soon...&quot;" />
          <rev user="Kerry" timestamp="2018-03-31T17:50:02Z" comment="" />
          <rev user="Kerry" timestamp="2019-10-04T21:17:48Z" comment="" />