title: extract value from object which is present in json file
body: <p>i want to fetch value from object. it should start from shirts. it should also check whether it is mega_menu or not. if it is mega menu, show its children. also depend on megamenu value, it should apply class 'parent'.</p>
  
  <pre><code>{
      "1": {
          "title": "Root Catalog",
          "url": null,
          "id": "1",
          "img_url": null,
          "mega_menu": "true",
          "children": {
              "2": {
                  "title": "Default Category",
                  "url": null,
                  "id": "2",
                  "img_url": null,
                  "mega_menu": "true",
                  "children": {
                      "4": {
                          "title": "shirts",
                          "url": "shirts",
                          "id": "4",
                          "img_url": null,
                          "mega_menu": "false"
                      },
                      "8": {
                          "title": "qme31q",
                          "url": "dresses",
                          "id": "8",
                          "img_url": null,
                          "mega_menu": "true",
                          "children": {
                              "20": {
                                  "title": "srtysryt",
                                  "url": "srtysryt",
                                  "id": "20",
                                  "img_url": null,
                                  "mega_menu": "false"
                              }
                          }
                      },
                      "11": {
                          "title": "Jackets + Sweaters",
                          "url": "jackets-sweaters",
                          "id": "11",
                          "img_url": null,
                          "mega_menu": "false"
                      },
                      "12": {
                          "title": "Accessories",
                          "url": "accessories",
                          "id": "12",
                          "img_url": null,
                          "mega_menu": "true",
                          "children": {
                              "26": {
                                  "title": "a",
                                  "url": "a",
                                  "id": "26",
                                  "img_url": null,
                                  "mega_menu": "false"
                              }
                          }
                      },
                      "13": {
                          "title": "Plus",
                          "url": "plus",
                          "id": "13",
                          "img_url": null,
                          "mega_menu": "false"
                      },
                      "22": {
                          "title": "abcde",
                          "url": "abcde",
                          "id": "22",
                          "img_url": null,
                          "mega_menu": "true",
                          "children": {
                              "23": {
                                  "title": "dduy",
                                  "url": "dduy",
                                  "id": "23",
                                  "img_url": null,
                                  "mega_menu": "false"
                              }
                          }
                      },
                      "24": {
                          "title": "1",
                          "url": "1",
                          "id": "24",
                          "img_url": null,
                          "mega_menu": "true",
                          "children": {
                              "25": {
                                  "title": "1.1",
                                  "url": "1-1",
                                  "id": "25",
                                  "img_url": null,
                                  "mega_menu": "false"
                              }
                          }
                      }
                  }
              },
              "16": {
                  "title": "test",
                  "url": "test",
                  "id": "16",
                  "img_url": null,
                  "mega_menu": "false"
              },
              "18": {
                  "title": "rest",
                  "url": "rest",
                  "id": "18",
                  "img_url": null,
                  "mega_menu": "false"
              },
              "29": {
                  "title": "q",
                  "url": "q",
                  "id": "29",
                  "img_url": null,
                  "mega_menu": "false"
              }
          }
      }
  }
  </code></pre>