[Move values] Simplify LCS (de)serialization code
[Move values] Simplify LCS (de)serialization code

Closes: #3339
Approved by: matbd

libra/libra,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core