Add support for IDictionary in object