Fixes #2139

Fixes #2139, remove unneeded serialization in entry operation when in memory format is Object.