Allow for lists of xml strings

Might need to tweak the output format