fn inspect_stake_key(
    metamap: &[(Value, Value)]
) -> Result<StakeKeyHex, Result<Registration, Box<dyn Error>>>