JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script>
{{#buckets}}
    {{key}}
        {{#mobile}}
          {{#buckets}}
            {{key}}
            {{#model}}
              {{#buckets}}
                {{key}}
              {{/buckets}}
            {{/model}}
          {{/buckets}}
        {{/mobile}}
{{/buckets}}

JavaScript

var data = {
                        "buckets": [
                          {
                            "key": "Devices",
                            "mobile": {
                              "buckets": [
                                {
                                  "key": "Touch",
                                  "model": {
                                    "buckets": [
                                      {
                                        "key": "iPhone 6"
                                      },
                                      {
                                        "key": "Nexus 5x"
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
}

var template = document.body.innerHTML;
document.body.innerHTML = Mustache.render(template, data);