def METHOD_NAME(self):
    input_template = """
    {
        "B_Resource": {
            "Key2": {
                "Name": "name2"
            },
            "Key1": {
                "Name": "name1"
            }
        },
        "A_Resource": {
            "Key2": {
                "Name": "name2"
            },
            "Key1": {
                "Name": "name1"
            }
        }
    }
    """
    expected_dict = OrderedDict(
        [
            ("B_Resource", OrderedDict([("Key2", {"Name": "name2"}), ("Key1", {"Name": "name1"})])),
            ("A_Resource", OrderedDict([("Key2", {"Name": "name2"}), ("Key1", {"Name": "name1"})])),
        ]
    )
    output_dict = yaml_parse(input_template)
    self.assertEqual(expected_dict, output_dict)