[code] change the message sent from the scheduler to be a json document itself (defined in the workload)