or

`new_redis_value = Ublisherp::Serializer.dump(yield current_redis_value)`

with the advantage that the exception if you don't give a block is nicer.