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="Акишев_данияр.jpg" />
  </query-continue>
  <query>
    <pages>
      <page pageid="6899" ns="6" title="Файл:Taras Shevchenko Barsa Kelmes Island.jpg" imagerepository="local">
        <imageinfo>
          <ii timestamp="2017-05-01T14:52:49Z" user="Moderator" />
        </imageinfo>
      </page>
      <page pageid="6924" ns="6" title="Файл:АГП.jpg" imagerepository="local">
        <imageinfo>
          <ii timestamp="2018-11-29T01:15:32Z" user="Moderator" />
        </imageinfo>
      </page>
      <page pageid="6933" ns="6" title="Файл:Абай Баймагамбетов.jpg" imagerepository="local">
        <imageinfo>
          <ii timestamp="2019-04-29T06:59:22Z" user="Moderator" />
        </imageinfo>
      </page>
      <page pageid="6934" ns="6" title="Файл:Айкуне.jpg" imagerepository="local">
        <imageinfo>
          <ii timestamp="2019-04-29T07:02:28Z" user="Moderator" />
        </imageinfo>
      </page>
    </pages>
  </query>
</api>