close scanner after loading schema
switch field type from String to Any
helper for multi-field access