Added a condition to store data to ObjectDict when the items type is it
Added a condition to store data to ObjectDict when the items type is it

Previous dereference implementation re-contains data as `dict` except
for the predicted type.
But the OrderedDict is not predicted, so the its data would be converted
`dict` implicitly.
As the result, the order of stored data get wrong. And this patch
prevents it.

Davidrjx/mongoengine,Davidrjx/mongoengine,MongoEngine/mongoengine,cogniteev/mongoengine,cogniteev/mongoengine