changed dict key from date str to date type

I would like to change the dict key from a iso date str to a date type. Since the dict key is a date, it makes manipulating the date simpler when it's a date type.