debug for xml2obj