title: convert json data in key value by jolt processor
body: <p>I have following Input and i want to convert the data in expected output by jolt  processor</p>
  <p><strong>Input</strong></p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;tenantId&quot;: &quot;master&quot;,
    &quot;transactionId&quot;: &quot;838&quot;,
    &quot;alertArray&quot;: [
      {
        &quot;alertType&quot;: &quot;info&quot;,
        &quot;priority&quot;: &quot;low&quot;,
        &quot;data&quot;: &quot;new&quot;,
        &quot;properties&quot;: [
          {
            &quot;ConnectorID&quot;: &quot;1&quot;,
            &quot;ConnectorType&quot;: &quot;IEC_60309&quot;,
            &quot;IDTag&quot;: &quot;A5270529&quot;,
            &quot;abc&quot;: &quot;xyz&quot;,
            &quot;pqr&quot;: &quot;rst&quot;,
            &quot;bals&quot;: &quot;ahjdgcd&quot;
          }
        ]
      }
    ]
  }
  </code></pre>
  <p><strong>Expected output</strong></p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;tenantId&quot;: &quot;master&quot;,
    &quot;transactionId&quot;: &quot;838&quot;,
    &quot;alertArray&quot;: [
      {
        &quot;alertType&quot;: &quot;info&quot;,
        &quot;priority&quot;: &quot;low&quot;,
        &quot;data&quot;: &quot;new&quot;,
        &quot;properties&quot;: [
          {
            &quot;key&quot;: &quot;ConnectorID&quot;,
            &quot;value&quot;: &quot;2&quot;
          },
          {
            &quot;key&quot;: &quot;ConnectorType&quot;,
            &quot;value&quot;: &quot;IEC_60309&quot;
          },
          {
            &quot;key&quot;: &quot;DTag&quot;,
            &quot;value&quot;: &quot;A5270529&quot;
          },
          {
            &quot;key&quot;: &quot;abc&quot;,
            &quot;value&quot;: &quot;xyz&quot;
          },
          {
            &quot;key&quot;: &quot;pqr&quot;,
            &quot;value&quot;: &quot;rst&quot;
          },
          {
            &quot;key&quot;: &quot;bals&quot;,
            &quot;value&quot;: &quot;ahjdgcd&quot;
          }
        ]
      }
    ]
  }
  </code></pre>
  <p>we have data that contain properties array properties array contain pair of data and i want to convert the pair of data into key and value</p>