Seems correct but breaking on get for syndtr leveldb.  Will try different implementation