GDBM subclass that takes objects as values