protected void SaveYear(JObject json) { if (Year.HasValue) { json[@"year"] = Year.Value; } else { json.Remove(@"year"); } }