[long-tx-api] Refactor: WriteSet is now kept as a ValueType