Converts a typed value into a raw form suitable for storage (e.g. a string, number, or map).
A raw representation of the value.
The typed value to serialize.