Added more arguments to Error and Success responses to match the underlying Response::json call