pub(crate) fn json_escape(value: &str) -> String
Escapes a string for the hand-written JSON envelope.