added xml response support and jsonp fix