title: Get key of PersistentArrayMap in clojure
body: <p>My question could be a little bit easy to answer but I've just started to learn clojure and I have no idea of how to do this.</p>
  
  <p>I have a JSON file that I have read and parsed. Now I have to get each element of this JSON and treat then according with the type.
  For example, I have the JSON:</p>
  
  <pre><code>{
    "foo": {
      "id": 1,
      "name": "foo1"
    },
    "bar": {
      "id": 1,
      "name": "bar1"
    },
    "foo": {
      "id": 2,
      "name": "foo2"
    },
    "bar": {
      "id": 2,
      "name": "bar2"
    }
  }
  </code></pre>
  
  <p>So, I want to make a function that iterate on every element of my JSON and then call another function with multiples declarations for each element type of my JSON.</p>
  
  <p>The problem is that I don't know how I can get the JSON element type...
  Can someone help me?</p>