See HashCacheClient.serialize(), in the finally block.

In that case, I don't think you need a Pair here, but can just return the ServerCache like before, no?