text: expected_output = {
      'inventory_item_index': {
          0: {
              'description': 'cisco xrv9k centralized line card',
              'name': '0/0',
              'pid': 'R-IOSXRV9000-LC-C',
              'sn': 'AB7FB950B88',
              'vid': 'V01',
          },
          1: {
              'description': 'n/a',
              'name': '0/0/0',
              'pid': 'SFP-1G-NIC-X',
              'sn': 'N/A',
              'vid': 'N/A',
          },
          2: {
              'description': 'n/a',
              'name': '0/0/1',
              'pid': 'SFP-1G-NIC-X',
              'sn': 'N/A',
              'vid': 'N/A',
          },
          3: {
              'description': 'n/a',
              'name': '0/0/2',
              'pid': 'SFP-1G-NIC-X',
              'sn': 'N/A',
              'vid': 'N/A',
          },
          4: {
              'description': 'cisco xrv9k centralized route processor',
              'name': '0/rp0',
              'pid': 'R-IOSXRV9000-RP-C',
              'sn': 'DEB3B4DE58E',
              'vid': 'V01',
          },
          5: {
              'description': 'cisco xrv9k centralized virtual router',
              'name': 'rack 0',
              'pid': 'R-IOSXRV9000-CC',
              'sn': 'E289E87566C',
              'vid': 'V01',
          },
      },
  }