let get_all t ~collection = let col = get_collection t (Some collection) in let l = ref [] in Hashtbl.iter (fun k v -> l := k :: !l) col; return !l