class ApplicationSerializer {

    public Application fromSlime(byte[] data) {
        var key = Hashing.sipHash24().hashBytes(data).asLong();
        try {
            return cache.get(key, () -> fromSlime(SlimeUtils.jsonToSlime(data)));
        } catch (ExecutionException e) {
            throw new UncheckedExecutionException(e);
        }
    }

}