pub fn content_json(data: &[u8]) -> (String, &'static str)
Text when it is printable UTF-8, hex otherwise, with the encoding named.