private CachedDeserializable toDeserializable(Object value) {
    if (value instanceof CachedDeserializable) {
      return (CachedDeserializable) value;
    }

    return new PreferBytesCachedDeserializable(value);
  }
A dummy implementation of an IndexMap. Keeps all of the entries in memory, but in serialized
form.
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/query/mock/IndexMapImpl.java