Hashing to evade recursive nests

Hash keys to avoid vast recursive data structures in Dolls.