strings are not always str, but a dict is a dict.