see https://github.com/common-workflow-language/common-workflow-language/issues/559#issuecomment-348160520