title: Grails Ajax callback not rendering/responding properly
body: <p>I'm doing an ajax request to an own rest api and trying to print in an alert the message I get.<br>
  The point is I'm getting the following error:  <code>SyntaxError: Unexpected token :</code></p>
  
  <p>The code that makes the call is: </p>
  
  <pre><code>$.ajax({
          url:"${g.createLink(controller:'report',action:'show')}",
          dataType: 'json',
          data: {
              data: jSon,
          },
          success: function(data) {
              alert(data)
          },
          error: function(request, status, error) {
              alert(error)
          },
          complete: function() {
          }
      });
  </code></pre>
  
  <p>The return value i'm printing in the controller is: </p>
  
  <pre><code>JSON: {"results":"SELECT cliente.edad FROM Cliente cliente,Local local WHERE Local.numero==3 GROUP BY Cliente.edad ORDER BY Cliente.edad undefined""}
  </code></pre>
  
  <p>And what I'm doing in the controller is:</p>
  
  <pre><code>println "JSON: " + java.net.URLDecoder.decode((String)apiResponse.json)
      render java.net.URLDecoder.decode((String)apiResponse.json)
  </code></pre>
  
  <p>I have also tried with <code>respond</code> instead of <code>render</code> but same error</p>