expected_output = {
    "directory-list": {
        "directory": {
            "file-information": [
                {
                    "file-date": {"@junos:format": "May 22 02:40"},
                    "file-group": "wheel",
                    "file-links": "1",
                    "file-name": "/var/log/trace-static",
                    "file-owner": "root",
                    "file-permissions": {"@junos:format": "-rw-r-----"},
                    "file-size": "525672",
                },
                {
                    "file-date": {"@junos:format": "May 22 02:40"},
                    "file-group": "wheel",
                    "file-links": "1",
                    "file-name": "/var/log/trace-static.0.gz",
                    "file-owner": "root",
                    "file-permissions": {"@junos:format": "-rw-r-----"},
                    "file-size": "131497",
                },
            ],
            "total-files": "2",
        }
    }
}

expected_output = {
    "directory-list": {
        "directory": {
            "file-information": [
                {
                    "file-date": {"@junos:format": "May 22 02:40"},
                    "file-group": "wheel",
                    "file-links": "1",
                    "file-name": "/var/log/trace-static",
                    "file-owner": "root",
                    "file-permissions": {"@junos:format": "-rw-r-----"},
                    "file-size": "525672",
                },
                {
                    "file-date": {"@junos:format": "May 22 02:40"},
                    "file-group": "wheel",
                    "file-links": "1",
                    "file-name": "/var/log/trace-static.0.gz",
                    "file-owner": "root",
                    "file-permissions": {"@junos:format": "-rw-r-----"},
                    "file-size": "131497",
                },
            ],
            "total-files": "2",
        }
    }
}
