title: Velocity: Get key and value from JSON
body: <p>I have a JSON file like so...</p>
  
  <pre><code>{
   "template" : "test-template",
   "url" : "url",
   "imageCount" : 4,
   "pageSize" : 36,
   "class" : "test-class"
  }
  </code></pre>
  
  <p>Now I know I can access individual parameters. Accessing <code>$template</code> will print <code>test-template</code> for example.</p>
  
  <p>Is there a way to iterate through the entire collection and get both the keys and the values?</p>