Atomic map update using java object mapper

Also have added detailed question about my use case here

in case you have any inputs on this, please share