Add helper type XMLWriter

XMLWriter is used to manage the XML serialization of Items.