title: Jolt Transform JSON Spec with Unknown keys
body: <p>I want to transform below input json to output json using JOLT. The main problem here is in the list, I have to remove some fields whose root key (Param1, Param2, ...) will differ dynamically. I tried below spec, which didn't work.
  Need help in this case.</p>
  <pre><code>Input JSON : [
    {
      &quot;paramCollection&quot;: [
        {
          &quot;Param1&quot;: {
            &quot;value&quot;: 1,
            &quot;limit&quot;: &quot;10&quot;
          }
        },
        {
          &quot;Param2&quot;: {
            &quot;value&quot;: 1,
            &quot;limit&quot;: &quot;20&quot;
          }
        }
      ]
    }
  ]
  
  Output JSON : [ {
    &quot;paramCollection&quot; : [ {
      &quot;Param1&quot; : {
        &quot;value&quot; : 1
      }
    }, {
      &quot;Param2&quot; : {
        &quot;value&quot; : 1
      }
    } ]
  } ]
  
  spec : [
    {
      &quot;operation&quot;: &quot;remove&quot;,
      &quot;spec&quot;: {
        &quot;*&quot;: {
          &quot;paramCollection&quot; : {
            &quot;*&quot;: {
              &quot;[&amp;1].[&amp;1].limit&quot;: &quot;&quot;
            }
          }
        }
      }
    }
  ]
  </code></pre>