Fixed serialization of JobScheduleResource.