Set response body rather than using direct output (Credit RF)