change worker messaging format to json