add dump to XML format