protected new JsonResult Json(object data) { if (Request != null && !Request.AcceptTypes.Contains("application/json")) { return base.Json(data, "text/plain"); } return base.Json(data); }