pub fn with_global_storage<F, R>(f: F) -> Rwhere F: FnOnce(&RefCell<HashMap<String, HashMap<u64, Vec<u8>>>>) -> R,