fixes #1115

with this commit, before mapstore.store() (first we check mapstore is enabled and write-through); the value is deserialized. So the modifications inside mapstore.store() is reflected to the map.