public static ObjectMapper getMapper() {
    ObjectMapper mapper = JsonMapper.builder()
        .addModule(new JavaTimeModule())
        .addModule(new JodaModule())
        .enable(JsonParser.Feature.ALLOW_SINGLE_QUOTES)
        .enable(MapperFeature.USE_BASE_TYPE_AS_DEFAULT_IMPL)
        .build();
    mapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
    return mapper;
  }
@return a jackson json mapper that allows single quotes and is able to deserialize json
        string without @JsonTypeInfo if base class is a concrete implementation.
geode-common/src/main/java/org/apache/geode/util/internal/GeodeJsonMapper.java