add xml response helper