Refactor JobState into PayloadState, owned by a Job