You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <random>
      <page id="13919" ns="0" title="Agclimate telecon 2017-12-05" />
      <page id="2334" ns="0" title="AQ 2007 10 31 Discussion" />
    </random>
  </query>
</api>