@Override
    public void serializeWithType(Region.Entry value, JsonGenerator gen,
        SerializerProvider serializers, TypeSerializer typeSer)
        throws IOException {
      typeSer.writeTypePrefix(gen,
          typeSer.typeId(value, Region.Entry.class, JsonToken.START_OBJECT));
      gen.writeObjectField(value.getKey().toString(), value.getValue());
      typeSer.writeTypeSuffix(gen, typeSer.typeId(value, JsonToken.START_OBJECT));
    }
A custom JSON serializer for region entries.
geode-core/src/main/java/org/apache/geode/management/internal/json/AbstractJSONFormatter.java