code: protected String pauseMsg() throws IOException {
          final WorkerStatus status = new WorkerStatus();
          status.setRunAt(new Date());
          status.setPaused(isPaused());
          return ObjectMapperFactory.get().writeValueAsString(status);
      }
docs: Create and serialize a WorkerStatus for a pause event.
  
  @return the JSON representation of a new WorkerStatus
  @throws IOException if there was an error serializing the WorkerStatus