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>
    <messagegroups>
      <group id="page-Ejercicio: Pong" label="Ejercicio: Pong" description="Translation of the wiki page [[:Ejercicio: Pong|Ejercicio: Pong]] from español (es)." class="WikiPageMessageGroup" exists="" />
      <group id="page-Página principal" label="Página principal" description="Translation of the wiki page [[:Página principal|Página principal]] from español (es)." class="WikiPageMessageGroup" exists="" />
      <group id="!additions" label="Recent additions" description="This message group shows new and changed messages." class="RecentAdditionsMessageGroup" exists="" />
      <group id="!recent" label="Recent translations" description="This message group shows all recent translations into this language.&#10;Most useful for the review tasks." class="RecentMessageGroup" exists="" />
      <group id="!sandbox" label="Sandbox messages" description="Suggests messages to translate for sandboxed users" class="SandboxMessageGroup" exists="" />
    </messagegroups>
  </query>
</api>