title: An item with the same key has already been added. Key: ivttesting
body: <p>I have a scenario, where am reading data from a very large json string, and display the data using the key and value pair,  for some reason there are some keys inside the JSON file that share the same key name.</p>
  <p>This is my code currently for reading the keys and their values and displaying it on a web page</p>
  <pre><code>public IActionResult Entry(string id)
          {
              var entry = _service.GetALLEntry(id);
              JArray json = JArray.Parse(entry.DataContent);
              Dictionary&lt;string, string&gt; dict = new Dictionary&lt;string, string&gt;();
              foreach (JValue item in json)
              {
                  JObject js = JObject.Parse(item.Value.ToString());
                  foreach (var _it in js)
                  {
                      if (_it.Key != &quot;fields&quot;)
                          continue;
                      foreach (var _ in _it.Value)
                      {
                          dict.Add(_.Value&lt;string&gt;(&quot;key&quot;) + &quot;||&quot; + _.Value&lt;string&gt;(&quot;label&quot;), _.Value&lt;string&gt;(&quot;value&quot;));
                      }
                  }
              }
              return View(dict);
          }
  </code></pre>
  <p>How can I rename the keys that have similar name in .netcore to another name without editing the keys in the large JSON file?</p>