Be careful when you are changing structure of data in workflow object.

cc @jalavik, @lnielsen-cern