public JobModel getJobModel() {
    return ((TaskContextImpl) this.context.getTaskContext()).getJobModel();
  }
TODO: The public {@link JobContext} exposes {@link JobModel} now, so can this internal method be replaced by the
public API?
samza-core/src/main/java/org/apache/samza/context/InternalTaskContext.java