modify post response data for json and xml