scan works but creating collections rather than dictionaries. need to reformat json