private void renderInspectorDirect(Inspector data) throws IOException {
            generator().writeRawValue(WithBase64.toJsonString(data, settings.enableRawAsBase64));
        }
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