title: Handlebars get access to data in script tag
body: <p>I've got a plain handlebars template that I'm passing through puppeteer to generate a pdf. I'm able to access the data through the body normally but can't seem to do so in a JS script tag. My data looks something like this.</p>
  
  <pre><code>const context = { data: [ {..some data}, {...some data}, {...some data}] }
  </code></pre>
  
  <p>I'm trying to access it in my script tag like</p>
  
  <pre><code>const data = "{{ data }}"
  </code></pre>
  
  <p>but all I get back when I console log this in my script tag is </p>
  
  <pre><code>[object Object],[object Object],[object Object]
  </code></pre>
  
  <p>When I check the typeof, it comes back as a string.</p>