only upload attributes once for multiple workunit tasks
update shock stuct
added json dump of input attributes if 'AttrFile' is used