title: Json to javascript in fluid-templates with extbase
body: <p>I was trying to get a json in an javascript variable. I use fluid-templates in my extbase typo3-extension. In my action I load some json with curl. This json I assign to the template. In my template it looks like: </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var json = {jsonVarFromControllerAction};
  &lt;/script&gt;
  </code></pre>
  
  <p>In this case the json is interpreted as html-code. It looks like:</p>
  
  <pre><code>{&amp;quot;content&amp;quot;:&amp;quot;testcontent&amp;quot;}
  </code></pre>
  
  <p>In the controller-action its an correct json!</p>
  
  <pre><code>{"content": "testcontent"}
  </code></pre>
  
  <p>Whats the solution?</p>