Value wrapper and serialization of it, to replace any, and avoid crazy migration

To deploy, (if we want to deploy, no advantage for now), we need to use V1, then revert to V2 since this change break the protocol.