title: Javascript variable is changing encoding when sent from Flask
body: <p>I am sending a variable via flask render_template("index.html", data=data).
  In my server.py data looks like this:</p>
  
  <pre><code>data = [{'value': 0.0}, {'value': 0.0}, {'value': 0.0}, {'value': 0.001}, {'value': 0.001}, {'value': 0.001},...]
  </code></pre>
  
  <p>but on the javascript side console I get this when I do <code>console.log({{data}});</code>:</p>
  
  <pre><code>[{&amp;#39;value&amp;#39;: &amp;#39;0.0&amp;#39;}, {&amp;#39;value&amp;#39;: &amp;#39;0.0&amp;#39;}, {&amp;#39;value&amp;#39;: &amp;#39;0.0&amp;#39;}, {&amp;#39;value&amp;#39;: &amp;#39;0.001&amp;#39;}, ...
  </code></pre>
  
  <p>Why is this happening? How do I get the data in an object format?</p>