Support serializing char data.

Treat a char field as a 1-character string. Deserializing to a char field already works fine.