kernel: Try an order-independent approach to hashing `dict`.