Handle nested dictionaries when converting from an `OrderedDict` into a `dict`.