trying to make try-ddict compatible with tuple keys