title: Transformation of JSON data in mule 4
body: <p>I have a requirement wherein I have to convert JSON data from one format to other.
  I have to fetch corresponding values of JSON array and make them a key value pair.</p>
  
  <p>Below are the required details:</p>
  
  <p>Input:</p>
  
  <pre><code>"Headers": {
      "Header": [
        {
          "Key": "SellerOrganization",
          "Value": "XYZ"
        },
        {
          "Key": "SellerType",
          "Value": "B2C"
        },
        {
          "Key": "Region",
          "Value": "SOUTH"
        },
        {
          "Key": "OrderType",
          "Value": "RETURN"
        },
        {
          "Key": "InvoiceType",
          "Value": ""
        },
        {
          "Key": "EventType",
          "Value": "Created"
        },
        {
          "Key": "EntryType",
          "Value": "Call Center"
        }
      ]
    }
  </code></pre>
  
  <p>Expected Output:</p>
  
  <pre><code>{
      SellerOrganization:XYZ,
      SellerType: B2C,
      Region:SOUTH,
      OrderType:RETURN,
      InvoiceType:"",
      EventType:Created,
      EntryType:Call Center
  }
  </code></pre>