synchronized void commit(int status) throws IOException {
            commit(status, true);
        }
Creates a new JsonResponse with path and message fields written.
vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/DocumentV1ApiHandler.java