private Inspector deepMaybeConvert(Inspector data) {
            if (data.type() == Type.ARRAY) {
                if (settings.jsonDeepMaps) {
                    var map = maybeConvertMap(data);
                    if (map != null) return map;
                }
                if (settings.jsonWsets) {
                    var wset = maybeConvertWset(data);
                    if (wset != null) return wset;
                }
            }
            if (data.type() == Type.OBJECT) {
                return convertInsideObject(data);
            }
            return data;
        }
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