pub fn verify_hash(value: &Value, expected_hash: &str) -> Result<bool>
Verify that a payload matches its declared semantic hash