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>
    <allimages gaicontinue="cpportsr77.png" />
  </query-continue>
  <query>
    <pages>
      <page pageid="74" ns="6" title="File:chkp mgmt ha sync error.png" imagerepository="local">
        <imageinfo>
          <ii timestamp="2013-05-21T06:41:01Z" user="Nighthawk" />
        </imageinfo>
      </page>
      <page pageid="122" ns="6" title="File:chkp vrrp cluster config-1.png" imagerepository="local">
        <imageinfo>
          <ii timestamp="2013-09-15T08:21:20Z" user="Nighthawk" />
        </imageinfo>
      </page>
      <page pageid="121" ns="6" title="File:chkp vrrp rule.png" imagerepository="local">
        <imageinfo>
          <ii timestamp="2013-09-13T21:16:04Z" user="Nighthawk" />
        </imageinfo>
      </page>
      <page pageid="230" ns="6" title="File:cp mgmt api enable all IPs.png" imagerepository="local">
        <imageinfo>
          <ii timestamp="2018-04-22T21:37:52Z" user="Nighthawk" />
        </imageinfo>
      </page>
    </pages>
  </query>
</api>