@override Object toJson() => { if (job.isNotDefault) 'job': job, if (failedJobs.isNotDefault) 'failedJobs': failedJobs, };