Statically-typed heterogenous hash table