Allow string keys to convert to date time