Script field and regexp

Is processContext of type object (default if no type is set) or nested?

Also, does the full processContext.componentName field exist in all documents? The presence of ignore_above indicates this might not be the case. Otherwise the script might have to contain a guard against that.