HashCache and deterministic JSON stringify