Char fields were not escaped correctly when serialized to JSON.