deserialize_dict added and unit tested