Allow consumers to specify a serialization scheme.

Serialization schemes are a convenient way for consumers to add
deserialization logic right in the spout.