public static string ToJson(GenericJsonCollection gjc) { Dictionary<string, object> json = new Dictionary<string, object>(); json.Add("items", gjc.items); return json.ToJson(); }