Temporary workaround for workflow encode problem (http://jira.diamond.ac.uk/browse/DAWNSCI-663)