title: JSON transform in Mule 3
body: <p>I have a JSON payload which looks like:</p>
  
  <pre><code>[{
    "CUSTOMERAP": [{
      "CUSTOMERID": [
        "7685940002,24424424,244322,1224,68"
      ]
    }, {
      "RATING": [
        "76859400022,24424424,244262,1234,68"
      ]
    }]
  }, {
    "CLIENTAP": [{
      "CUSTOMERID": [
        "76859404002,24422424,246422,1254,68"
      ]
    }, {
      "RATING": [
        "76859400022,24422424,244522,1264,68"
      ]
    }]
  }]
  </code></pre>
  
  <p>I would like to transform it to something like </p>
  
  <pre><code>[{
    "CUSTOMERAP": [{
      "ID": [
        "7685940002,24424424,244322,1224,68",
        "76859400022,24424424,244262,1234,68"
      ]
    }]
  }, {
    "CLIENTAP": [{
      "ID": [
        "76859404002,24422424,246422,1254,68",
        "76859400022,24422424,244522,1264,68"
      ]
    }]
  }]
  </code></pre>
  
  <p>I tried to iterate using foreach and was unable to obtain the titles separately using #[message.payload."title"] cause all of it are different.</p>