public static string Serialize(DynamicDictionary dictionary, Formatting jsonFormat)
 {
     return(JsonConvert.SerializeObject(dictionary.ToSerializableDictionary(), jsonFormat));
 }