BUG: toprettyxml inserts whitespace which isn't compatible with EBI
ENH: return accessions
ENH: return accessions