Fixed serialization of JobSchedulerResource