Allow the UmlDiagramRepository to directly return diagrams in xml
format. This may be handy for applications that want to store all there
data as xml.