detect feature format (dicts vs string lists) automatically