title: Iterate over Json object with nested fields
body: <p>I am having some difficulties to iterate over a json object. There are some nested fields, and it is getting me confused...</p>
  
  <p>This is my JSON data</p>
  
  <pre><code>{
  "_embedded": {
      "request_fields": [{
          "reference": null,
          "name": "Qual será o serviço?",
          "label": "Qual será o serviço?",
          "placeholder": "Qual será o serviço?",
          "values": {
              "Coloração": "Coloração",
              "Corte": "Corte",
              "Escova ": "Escova ",
              "Escova progressiva/definitiva": "Escova progressiva/definitiva",
              "Luzes": "Luzes"
          }
      }, {
          "reference": null,
          "name": "Para quem será o serviço?",
          "label": "Para quem será o serviço?",
          "placeholder": "Para quem será o serviço?",
          "values": {
              "Criança": "Criança",
              "Homem": "Homem",
              "Mulher": "Mulher"
          }
      }]
  }
  }
  </code></pre>
  
  <p>And this is what i`ve tried so far --  <strong>update</strong>  </p>
  
  <pre><code>  for (key in response) {
                      for (i in response[key].request_fields) {
                          // console.log(response[key].request_fields[i].values);
                          document.getElementById("form").innerHTML +=    "&lt;div class='section'&gt;" + 
                                                                              "&lt;label&gt;" + response[key].request_fields[i].label + "&lt;/label&gt;" +
                                                                              "&lt;label&gt;" for (e in response[key].request_fields[i].values) { response[key].request_fields[i].values[e] } "&lt;/label&gt;" +
                                                                              "&lt;label&gt;" + response[key].request_fields[i].values{0} + "&lt;/label&gt;" +
                                                                          "&lt;/div&gt;" ;
                      }
                  }  
  </code></pre>
  
  <p>Now I am getting </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token for</p>
  </blockquote>
  
  <p>In my 3rd "for" to print "values"</p>