docs: private void store(final PrintJobStatus printJobStatus) throws JSONException {
          JSONObject metadata = new JSONObject();
          metadata.put(JSON_REQUEST_DATA, printJobStatus.getEntry().getRequestData().getInternalObj());
          metadata.put(JSON_STATUS, printJobStatus.getStatus().toString());
          metadata.put(JSON_START_DATE, printJobStatus.getStartTime());
          metadata.put(JSON_REQUEST_COUNT, printJobStatus.getRequestCount());
          if (printJobStatus.getCompletionDate() != null) {
              metadata.put(JSON_COMPLETION_DATE, printJobStatus.getCompletionTime());
          }
          metadata.put(JSON_ACCESS_ASSERTION, this.assertionPersister.marshal(printJobStatus.getAccess()));
          if (printJobStatus.getError() != null) {
              metadata.put(JSON_ERROR, printJobStatus.getError());
          }
          if (printJobStatus.getResult() != null) {
              metadata.put(JSON_REPORT_URI, printJobStatus.getResult().getReportURIString());
              metadata.put(JSON_FILENAME, printJobStatus.getResult().getFileName());
              metadata.put(JSON_FILE_EXT, printJobStatus.getResult().getFileExtension());
              metadata.put(JSON_MIME_TYPE, printJobStatus.getResult().getMimeType());
          }
          this.registry.put(RESULT_METADATA + printJobStatus.getReferenceId(), metadata);
      }