To transform a data structure into a serialized object. For example, transforming a map into a JSON string. See unmarshal.