fn get_uint(pairs: &[(Value, Value)], key: &str) -> Option<u64>
Helper to extract a u64 from a CBOR map by key.