fn serde_plain<T: Serialize>(value: &T) -> String
Renders a wire-shaped enum through its serde spelling rather than duplicating the strings.