adjust paths and namespaces and fixed escalation json generation