format the XML wechat responses