[PD-698] Added tags to xml, csv, and print-friendly export for PRM.

Before, tags were just empty, now they populate as a comma-separated list of values. 
Was there a bug in the original? Leading and trailing whitespace?

If we're just simplifying then doesn't ' '.join(v.split()) work? Could you add a comment to this and the next line?