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>
    <searchinfo totalhits="1" />
    <search>
      <p ns="0" title="Gagnon Family History" snippet="1 Other sources claim the name Gagnon comes from the Old French “gagnon” &lt;span class=&#039;searchmatch&#039;&gt;meaning&lt;/span&gt; “guard dog” used as a nickname for an over aggressive man. However, it &#10;" size="57216" wordcount="8984" timestamp="2017-07-20T18:15:16Z" />
    </search>
  </query>
</api>