pub fn content_hash<T: Serialize>(value: &T) -> Result<ContentHash>
SHA-256 of the canonical JSON form.