title: Removing attributes from response of 'deep' JSON
body: <p>In my grails controller i am returning my object like this : </p>
  
  <pre><code>JSON.use("deep") {
  respond details
  }
  </code></pre>
  
  <p>And the JSON I am getting is :</p>
  
  <pre><code>[
      {
          "class": "com.evolving.resource.tn.TNDetails",
          "id": null,
          "ageToDate": null,
          "dnpk": "1290",
          "iccid": [
              {
                  "class": "com.evolving.resource.iccid.ICCID",
                  "id": 4209,
                  "imsi": [
                      {
                          "class": "com.evolving.resource.imsi.IMSI",
                          "id": 13336,
                          "iccid": {
                              "_ref": "../..",
                              "class": "com.evolving.resource.iccid.ICCID"
                          },
                          "imsi": "234207300009975"
                      }
                  ],
                  "sim": "8944200000060007084",
                  "tn": {
                      "_ref": "../..",
                      "class": "com.evolving.resource.tn.TNDetails"
                  }
              }
          ],
          "permanentReservedFlag": null,
          "portInOldSP": "XX",
          "portOutNewSP": null,
          "reserveToDate": null,
          "tn": "447400002035"
      }
  ]
  </code></pre>
  
  <p><strong>How do i remove some unwanted tags like <code>class</code> , <code>id</code> , <code>_ref</code> from response JSON ?</strong></p>
  
  <p>I have used <code>JsonRenderer</code> in my resources.groovy file but it didn't worked.</p>