added test to see if dictionaries are serialized ok to json