anchor.diff:  get_text_field_values_obj([], _, FAcc) ->
       FAcc;
   get_text_field_values_obj([{Key, Val} | Rest], TAcc, FAcc) ->
  +	ArrayLengthFieldEnabled = TAcc#tacc.array_length_field,
       NewPath = [Key | TAcc#tacc.path],
  -    NewTAcc = TAcc#tacc{path = NewPath},
  +    NewTAcc = TAcc#tacc{array_length_field = ArrayLengthFieldEnabled, path = NewPath},
       Fields = get_text_field_values(Val, NewTAcc),
       get_text_field_values_obj(Rest, TAcc, Fields ++ FAcc).
   
  
positive.code: 
  
  -record(tacc, {
      fields = all_fields,
      path = []
  }).
  
negative.code: 
  get_text_entries0(IdxProps, Doc) ->
      DefaultEnabled = get_default_enabled(IdxProps),
  	ArrayLengthEnabled = get_array_length_enabled(IdxProps),
      FieldsList = get_text_field_list(IdxProps),
      TAcc = #tacc{array_length_field = ArrayLengthEnabled, fields = FieldsList},
      Fields0 = get_text_field_values(Doc, TAcc),
      Fields = if not DefaultEnabled -> Fields0; true ->
          add_default_text_field(Fields0)
  