Serialises objects into XML and XML into Objects