fix #2139, remove unneeded serialization in entry operation when memory format is Object.
review test fix
Merge pull request #2276 from ahmetmircik/ms/fix/2139

Fixes #2139