add array2xml and xml2array