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

Fixes #2139 (maintenance)