expected_output = {
    'power-usage-information': {
        'power-usage-item': [
            {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '489.25',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '23.30'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '489.25',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '23.30'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '504.56',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.75',
                    'str-dc-voltage': '51.75',
                    'str-dc-load': '24.03'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '491.62',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.75',
                    'str-dc-load': '23.41'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': 'PSM 9',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '309.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '14.71'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '307.50',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.25',
                    'str-dc-load': '14.64'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '309.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '14.71'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Unknown',
                'dc-input-detail2': {
                    'dc-input-status': 'Not ready'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }
        ],
        'power-usage-system': {
            'power-usage-zone-information': [{
                'str-zone': 'Upper',
                'capacity-actual': '6300',
                'capacity-max': '7500',
                'capacity-allocated': '3332',
                'capacity-remaining': '2968',
                'capacity-actual-usage': '925.50'
            }, {
                'str-zone': 'Lower',
                'capacity-actual': '8400',
                'capacity-max': '10000',
                'capacity-allocated': '6294',
                'capacity-remaining': '2106',
                'capacity-actual-usage': '1974.69'
            }],
            'capacity-sys-actual':
            '14700',
            'capacity-sys-max':
            '17500',
            'capacity-sys-remaining':
            '5074'
        }
    }
}

expected_output = {
    'power-usage-information': {
        'power-usage-item': [
            {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '489.25',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '23.30'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '489.25',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '23.30'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '504.56',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.75',
                    'str-dc-voltage': '51.75',
                    'str-dc-load': '24.03'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '491.62',
                    'str-zone': 'Lower',
                    'str-dc-current': '9.50',
                    'str-dc-voltage': '51.75',
                    'str-dc-load': '23.41'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Lower',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': 'PSM 9',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '309.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '14.71'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '307.50',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.25',
                    'str-dc-load': '14.64'
                }
            }, {
                'name': '<NAME>',
                'state': 'Online',
                'dc-input-detail2': {
                    'dc-input-status':
                    'OK (INP0 feed expected, INP0 feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '309.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '6.00',
                    'str-dc-voltage': '51.50',
                    'str-dc-load': '14.71'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Unknown',
                'dc-input-detail2': {
                    'dc-input-status': 'Not ready'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }, {
                'name': '<NAME>',
                'state': 'Present',
                'dc-input-detail2': {
                    'dc-input-status':
                    'Check (No feed expected, No feed connected)'
                },
                'pem-capacity-detail': {
                    'capacity-actual': '2100',
                    'capacity-max': '2500'
                },
                'dc-output-detail2': {
                    'str-dc-power': '0.00',
                    'str-zone': 'Upper',
                    'str-dc-current': '0.00',
                    'str-dc-voltage': '0.00',
                    'str-dc-load': '0.00'
                }
            }
        ],
        'power-usage-system': {
            'power-usage-zone-information': [{
                'str-zone': 'Upper',
                'capacity-actual': '6300',
                'capacity-max': '7500',
                'capacity-allocated': '3332',
                'capacity-remaining': '2968',
                'capacity-actual-usage': '925.50'
            }, {
                'str-zone': 'Lower',
                'capacity-actual': '8400',
                'capacity-max': '10000',
                'capacity-allocated': '6294',
                'capacity-remaining': '2106',
                'capacity-actual-usage': '1974.69'
            }],
            'capacity-sys-actual':
            '14700',
            'capacity-sys-max':
            '17500',
            'capacity-sys-remaining':
            '5074'
        }
    }
}
