title: Freemarker iterating over hashmap keys in a list
body: <p><strong>Answer is found : ${account[prop]} instead of ${account.get(prop)} works</strong></p>
  
  <p>Accounts is a list of map with type like </p>
  
  <pre><code>//[{"id":"1","location":"warehouse1"},{"id":"2","location":"warehouse2"}]
  ArrayList&lt;HashMap&lt;String, String&gt;&gt; t = m.t();
  root.put("accounts", t);
  Writer out = null;
  try {
      out = context.response.getWriter();
      T.getViewTpl(tplName).process(root, out);
  } catch (IOException | TemplateException ex) {
      T.logger.error(T.class.getName(), ex);
  } finally {
      try {
          out.close();
      } catch (IOException ex) {
          T.logger.error(T.class.getName(), ex);
      }
  }
  </code></pre>
  
  <p>it is to be rendered as a table. One account one row, and one property of account one column. Below code doesn't work. How it could be done? Thanks in advance!</p>
  
  <pre><code>&lt;table&gt;
      &lt;#list accounts as account&gt;
      &lt;tr&gt;
          &lt;#list account?keys as prop&gt;
          &lt;td&gt;${account.get(prop)}&lt;/td&gt;
          &lt;/#list&gt;
      &lt;/tr&gt;
      &lt;/#list&gt;  
  &lt;/table&gt;
  </code></pre>
  
  <p>Freemarker error is:</p>
  
  <pre><code>FreeMarker template error
  
  The following has evaluated to null or missing:
  ==&gt; account.get  [in template "account.tpl" at line 14, column 23]
  </code></pre>