added poc for objectToXml marshelling