Move error messages to response body