support object to XML(in progress)