Add switching styles for uri <-> xml
Expose the XML for the exported query. Fix FASTA bug.

This lets the user get to the query xml for the query they have built.
Also forgot to extract the paths on the extraAttributes models