public void setJobModel(JobModel jobModel) {
    try {
      this.serializedJobModel = SamzaObjectMapper.getObjectMapper().writeValueAsBytes(jobModel);
    } catch (JsonProcessingException e) {
      throw new SamzaException("Failed to serialize job model", e);
    }
  }
Provides a way to access and set the job model.
The {@link JobInfoProvider} part of this class is used by a {@link CoordinatorCommunication} implementation, and the
"set job model" part is called by the job coordinator when there is a new job model.
samza-core/src/main/java/org/apache/samza/coordinator/communication/JobInfoServingContext.java