public JsonVisitor()
{
typeProcessor = new Dictionary<Type, Func<JToken, string, List<List<Tuple<string, string>>>, List<List<Tuple<string, string>>>>> {
{typeof(JObject),ProcessObject},
{typeof(JProperty),ProcessProperty},
{typeof(JArray),ProcessArray},
{typeof(JValue),ProcessValue}
};
Records = new List<List<Tuple<string, string>>>();
Records.Add(new List<Tuple<string, string>>());
FieldSet = new HashSet<string>();
}