Fix response rendering for ValidationException.