fn resolve_type_info<E: ToString>(
    node_id: &NodeId,
    lookup: &Box<dyn ValidationContext<Error = E> + '_>
) -> Result<TypeInfoForValidation, PayloadValidationError<ScryptoCustomExtension>>