expected_output = {
    "job_id": {
        "1011": {
            "pid": 10711,
            "process_name": "isis",
            "executable_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis",
            "instance": "1",
            "version_id": "00.00.0000",
            "respawn": "ON",
            "respawn_count": 1,
            "last_started": "Fri Oct  4 15:47:07 2019",
            "process_state": "Run",
            "package_state": "Normal",
            "started_on_config": "cfg/gl/isis/instance/test/ord_A/running",
            "process_group": "v4-routing",
            "core": "COPY",
            "max_core": 0,
            "placement": "Placeable",
            "startup_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup",
            "ready": "18.220s",
            "available": "18.536s",
            "process_cpu_time": {
                "user": 134.74,
                "kernel": 40.88,
                "total": 175.62},
            "tid": {
                10711: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Management",
                    "rt_pri": 0,
                },
                11198: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lwm_debug_threa",
                    "rt_pri": 0,
                },
                11199: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11201: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lwm_service_thr",
                    "rt_pri": 0,
                },
                11202: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "qsm_service_thr",
                    "rt_pri": 0,
                },
                11218: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_tty_th",
                    "rt_pri": 0,
                },
                11219: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_util_th",
                    "rt_pri": 0,
                },
                11221: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_client_th",
                    "rt_pri": 0,
                },
                11232: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_login_th",
                    "rt_pri": 0,
                },
                11233: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11236: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11283: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "chkpt_evm",
                    "rt_pri": 0,
                },
                11284: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11298: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11308: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11311: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lspv_lib ISIS",
                    "rt_pri": 0,
                },
                11312: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "async",
                    "rt_pri": 0,
                },
                11315: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Hello",
                    "rt_pri": 0,
                },
                11316: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Update",
                    "rt_pri": 0,
                },
                11317: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "SR-MPLS",
                    "rt_pri": 0,
                },
                11318: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "NSR",
                    "rt_pri": 0,
                },
                11319: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "LSD sync client",
                    "rt_pri": 0,
                },
                11320: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "telemetry_evtli",
                    "rt_pri": 0,
                },
                11980: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Decision",
                    "rt_pri": 0,
                },
                11985: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "TE",
                    "rt_pri": 0,
                },
                11989: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "MIB Traps",
                    "rt_pri": 0,
                },
                11996: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Protect Infra",
                    "rt_pri": 0,
                },
            },
        },
        "1012": {
            "pid": 10709,
            "process_name": "isis",
            "executable_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis",
            "instance": "2",
            "version_id": "00.00.0000",
            "respawn": "ON",
            "respawn_count": 1,
            "last_started": "Fri Oct  4 15:47:07 2019",
            "process_state": "Exited",
            "package_state": "Normal",
            "registered_item": "cfg/gl/isis/instance/.*/ord_A/",
            "process_group": "v4-routing",
            "core": "COPY",
            "max_core": 0,
            "placement": "Placeable",
            "startup_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup",
            "ready": "18.046s",
        },
    }
}

6ce290167b076ae13f16ba61985ec1120271273e
<mask token>

expected_output = {'job_id': {'1011': {'pid': 10711, 'process_name': 'isis',
    'executable_path':
    '/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis',
    'instance': '1', 'version_id': '00.00.0000', 'respawn': 'ON',
    'respawn_count': 1, 'last_started': 'Fri Oct  4 15:47:07 2019',
    'process_state': 'Run', 'package_state': 'Normal', 'started_on_config':
    'cfg/gl/isis/instance/test/ord_A/running', 'process_group':
    'v4-routing', 'core': 'COPY', 'max_core': 0, 'placement': 'Placeable',
    'startup_path':
    '/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup',
    'ready': '18.220s', 'available': '18.536s', 'process_cpu_time': {'user':
    134.74, 'kernel': 40.88, 'total': 175.62}, 'tid': {(10711): {'stack':
    '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'Management', 'rt_pri': 0
    }, (11198): {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name':
    'lwm_debug_threa', 'rt_pri': 0}, (11199): {'stack': '0K', 'pri': 20,
    'state': 'Sleeping', 'name': 'isis', 'rt_pri': 0}, (11201): {'stack':
    '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'lwm_service_thr',
    'rt_pri': 0}, (11202): {'stack': '0K', 'pri': 20, 'state': 'Sleeping',
    'name': 'qsm_service_thr', 'rt_pri': 0}, (11218): {'stack': '0K', 'pri':
    20, 'state': 'Sleeping', 'name': 'aaa_tty_th', 'rt_pri': 0}, (11219): {
    'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'aaa_util_th',
    'rt_pri': 0}, (11221): {'stack': '0K', 'pri': 20, 'state': 'Sleeping',
    'name': 'aaa_client_th', 'rt_pri': 0}, (11232): {'stack': '0K', 'pri': 
    20, 'state': 'Sleeping', 'name': 'aaa_login_th', 'rt_pri': 0}, (11233):
    {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'isis',
    'rt_pri': 0}, (11236): {'stack': '0K', 'pri': 20, 'state': 'Sleeping',
    'name': 'isis', 'rt_pri': 0}, (11283): {'stack': '0K', 'pri': 20,
    'state': 'Sleeping', 'name': 'chkpt_evm', 'rt_pri': 0}, (11284): {
    'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'isis', 'rt_pri':
    0}, (11298): {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name':
    'isis', 'rt_pri': 0}, (11308): {'stack': '0K', 'pri': 20, 'state':
    'Sleeping', 'name': 'isis', 'rt_pri': 0}, (11311): {'stack': '0K',
    'pri': 20, 'state': 'Sleeping', 'name': 'lspv_lib ISIS', 'rt_pri': 0},
    (11312): {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name':
    'async', 'rt_pri': 0}, (11315): {'stack': '0K', 'pri': 20, 'state':
    'Sleeping', 'name': 'Hello', 'rt_pri': 0}, (11316): {'stack': '0K',
    'pri': 20, 'state': 'Sleeping', 'name': 'Update', 'rt_pri': 0}, (11317):
    {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'SR-MPLS',
    'rt_pri': 0}, (11318): {'stack': '0K', 'pri': 20, 'state': 'Sleeping',
    'name': 'NSR', 'rt_pri': 0}, (11319): {'stack': '0K', 'pri': 20,
    'state': 'Sleeping', 'name': 'LSD sync client', 'rt_pri': 0}, (11320):
    {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name':
    'telemetry_evtli', 'rt_pri': 0}, (11980): {'stack': '0K', 'pri': 20,
    'state': 'Sleeping', 'name': 'Decision', 'rt_pri': 0}, (11985): {
    'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name': 'TE', 'rt_pri': 
    0}, (11989): {'stack': '0K', 'pri': 20, 'state': 'Sleeping', 'name':
    'MIB Traps', 'rt_pri': 0}, (11996): {'stack': '0K', 'pri': 20, 'state':
    'Sleeping', 'name': 'Protect Infra', 'rt_pri': 0}}}, '1012': {'pid': 
    10709, 'process_name': 'isis', 'executable_path':
    '/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis',
    'instance': '2', 'version_id': '00.00.0000', 'respawn': 'ON',
    'respawn_count': 1, 'last_started': 'Fri Oct  4 15:47:07 2019',
    'process_state': 'Exited', 'package_state': 'Normal', 'registered_item':
    'cfg/gl/isis/instance/.*/ord_A/', 'process_group': 'v4-routing', 'core':
    'COPY', 'max_core': 0, 'placement': 'Placeable', 'startup_path':
    '/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup',
    'ready': '18.046s'}}}

expected_output = {
    "job_id": {
        "1011": {
            "pid": 10711,
            "process_name": "isis",
            "executable_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis",
            "instance": "1",
            "version_id": "00.00.0000",
            "respawn": "ON",
            "respawn_count": 1,
            "last_started": "Fri Oct  4 15:47:07 2019",
            "process_state": "Run",
            "package_state": "Normal",
            "started_on_config": "cfg/gl/isis/instance/test/ord_A/running",
            "process_group": "v4-routing",
            "core": "COPY",
            "max_core": 0,
            "placement": "Placeable",
            "startup_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup",
            "ready": "18.220s",
            "available": "18.536s",
            "process_cpu_time": {
                "user": 134.74,
                "kernel": 40.88,
                "total": 175.62},
            "tid": {
                10711: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Management",
                    "rt_pri": 0,
                },
                11198: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lwm_debug_threa",
                    "rt_pri": 0,
                },
                11199: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11201: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lwm_service_thr",
                    "rt_pri": 0,
                },
                11202: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "qsm_service_thr",
                    "rt_pri": 0,
                },
                11218: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_tty_th",
                    "rt_pri": 0,
                },
                11219: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_util_th",
                    "rt_pri": 0,
                },
                11221: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_client_th",
                    "rt_pri": 0,
                },
                11232: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "aaa_login_th",
                    "rt_pri": 0,
                },
                11233: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11236: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11283: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "chkpt_evm",
                    "rt_pri": 0,
                },
                11284: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11298: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11308: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "isis",
                    "rt_pri": 0,
                },
                11311: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "lspv_lib ISIS",
                    "rt_pri": 0,
                },
                11312: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "async",
                    "rt_pri": 0,
                },
                11315: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Hello",
                    "rt_pri": 0,
                },
                11316: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Update",
                    "rt_pri": 0,
                },
                11317: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "SR-MPLS",
                    "rt_pri": 0,
                },
                11318: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "NSR",
                    "rt_pri": 0,
                },
                11319: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "LSD sync client",
                    "rt_pri": 0,
                },
                11320: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "telemetry_evtli",
                    "rt_pri": 0,
                },
                11980: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Decision",
                    "rt_pri": 0,
                },
                11985: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "TE",
                    "rt_pri": 0,
                },
                11989: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "MIB Traps",
                    "rt_pri": 0,
                },
                11996: {
                    "stack": "0K",
                    "pri": 20,
                    "state": "Sleeping",
                    "name": "Protect Infra",
                    "rt_pri": 0,
                },
            },
        },
        "1012": {
            "pid": 10709,
            "process_name": "isis",
            "executable_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/bin/isis",
            "instance": "2",
            "version_id": "00.00.0000",
            "respawn": "ON",
            "respawn_count": 1,
            "last_started": "Fri Oct  4 15:47:07 2019",
            "process_state": "Exited",
            "package_state": "Normal",
            "registered_item": "cfg/gl/isis/instance/.*/ord_A/",
            "process_group": "v4-routing",
            "core": "COPY",
            "max_core": 0,
            "placement": "Placeable",
            "startup_path": "/opt/cisco/XR/packages/xrv9k-isis-10.9.0.0-r651/rp/startup/isis.startup",
            "ready": "18.046s",
        },
    }
}
