title: Get value by the array element name in json
body: <p>I'm not sure how to name these elements properly, it'll be easier just to show it. I have following JSON:</p>
  
  <pre><code>{
    "DEV": [
      {
        "GitEmail": "asd@asd.com"
      }
    ],
    "TEST": [
      {
        "GitEmail": "asd1@asd.com"
      }
    ],
    "PROD": [
      {
        "GitEmail": "asd2@asd.com"
      }
    ]
  }  
  </code></pre>
  
  <p>I would like to get the "DEV" by providing it's email. How to implement that in powershell?</p>