To make it easier to see when the XML generated has deviated from expected, tidy up the emitted XML to use a more consistent formatting that would be inline with what would be expected to be output by virsh directly.