Fixes #2139 (maintenance)

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