Fix xml types to include complete type

Example of stripped types are maps and lists that is written as list
instead of list<string>. Also it solve problem with function that have
type function, even if it is category and its types is more likely its
signature.
so instead
<symbol global="1" category="function" type="function" name="Modified"/>
you get
<symbol global="1" category="function" type="boolean ()" name="Modified"/>