title: How to render json with arbitrary keys using mustache?
body: <p>I have a JSON object that looks like the following:</p>
  
  <pre><code>{
      "XXX":{"name":"First"},
      "YYY":{"name":"Second"},
      ....
  }
  </code></pre>
  
  <p>I need to render it to look like:</p>
  
  <pre><code>&lt;div&gt;
      &lt;h1&gt;XXX&lt;/h1&gt;
      &lt;p&gt;First&lt;/p&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &lt;h1&gt;YYY&lt;/h1&gt;
      &lt;p&gt;Second&lt;/p&gt;
  &lt;/div&gt;
  ....
  </code></pre>
  
  <p>How will I accomplish this using <a href="https://github.com/defunkt/mustache#readme" rel="nofollow">Mustache</a>? The problem I am facing is that I don't know how to reference the items because the key names are arbitrary.</p>