synchronized void writePathId(String path) throws IOException {
            json.writeStringField("pathId", path);
        }
Closes the JSON and the output content channel of this.
vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java