Job: Remove toJSON() function as it is not needed. Update jsonSerialize for CalendarTrigger to create proper JSON hierarchy. Fixes bug #35999