params should be parsed to xml with node attributes included