title: Concatenate 2 dictionaries and Add parent to it
body: <p>I have multiple dictionaries which i need to concatenate and add a parent in the end. How do i achieve this</p>
  
  <pre><code>dict1 = { "project":"test1", "summary": "A Test","issuetype": {
            "name": "Test"
         }}
  
  dict2 = { "project":"test2", "summary": "B Test","issuetype": {
            "name": "Test"
         }}
  </code></pre>
  
  <p>I need it in format</p>
  
  <pre><code>dictParent = {fields: {
  { "project":"test1", "summary": "A Test","issuetype": {
            "name": "Test"
         }}
  { "project":"test2", "summary": "B Test","issuetype": {
            "name": "Test"
         }}
  }}
  }
  </code></pre>
  
  <p>I used below code</p>
  
  <pre><code>dictParent = {}
  dictParent["fields"] = dict1, dict2
  </code></pre>
  
  <p>it kind of works the problem is it comes as as array but i want fields to be parent object not array</p>
  
  <pre><code>{fields: [
  { "project":"test1", "summary": "A Test","issuetype": {
            "name": "Test"
         }}
  { "project":"test2", "summary": "B Test","issuetype": {
            "name": "Test"
         }}
  }}
  ]
  </code></pre>