Convert object to XML easy