pub fn json_body<T: Serialize>(message: &T) -> Result<Vec<u8>, Error>
message as a JSON body. The generated clients call it.
message