Task.publish now is processed as arbitrary structure

Change-Id: I74cf7ea7f19356461d3d55af7541b8a4ced4eeae
Merge "Task.publish now is processed as arbitrary structure"