Add fallback support for IDictionary types like OrderedDictionary