public static string toJson() { return("{" + JsonUtils.ClasstoJson(typeof(Settings).GetTypeInfo().DeclaredNestedTypes.ToArray()) + "}"); }