private static <T> BiFunction<? super RequestContext, T, JsonNode>
    defaultSanitizer(ObjectMapper objectMapper) {
        return (requestContext, obj) -> objectMapper.valueToTree(obj);
    }
Returns a newly-created JSON {@link LogFormatter} based on the properties of this builder.
core/src/main/java/com/linecorp/armeria/common/logging/JsonLogFormatterBuilder.java