private Inspector convertInsideObject(Inspector data) {
            var object = new Value.ObjectValue();
            for (var entry : data.fields()) {
                object.put(entry.getKey(), deepMaybeConvert(entry.getValue()));
            }
            return object;
        }
Call after all fields in a hit to close the "fields" field of the JSON object
container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java