Decode payload into JSON in order to make it possible to pass JSON payload as task.run argument