Prevent response object being set as response body