flatten the dictionary. yay.