added xml generator and changed request body output to text