title: How can I read JSON data from a Sequelize search?
body: <p>I am developing a handlebars app,</p>
  <pre class="lang-js prettyprint-override"><code>router.get('/findBehavior/:student_id', async (req, res) =&gt; {
      console.log(&quot;---&gt; req.params.student_id :&quot; + JSON.stringify(req.params.student_id));
  
      const student = await Student.findByPk(req.params.student_id,{
          include: Behavior,
      });
  
      console.log(&quot;---&gt; student :&quot; + JSON.stringify(student));
      res.render('profile', {student, session: req.session});
  });
  </code></pre>
  <p>but I have trouble reading this json data that comes into the profile.handlebars:</p>
  <pre class="lang-js prettyprint-override"><code>{
    &quot;student_id&quot;: 1,
    &quot;student_name&quot;: &quot;Martina Hodson&quot;,
    &quot;student_grade&quot;: 9,
    &quot;Behaviors&quot;: [
      {
        &quot;behavior_id&quot;: 1,
        &quot;behavior_name&quot;: &quot;No Problems&quot;,
        &quot;StudentBehavior&quot;: {
          &quot;student_id&quot;: 1,
          &quot;behavior_id&quot;: 1
        }
      }
    ]
  }
  </code></pre>
  <p>I am trying this code, but it is not working...</p>
  <pre class="lang-js prettyprint-override"><code>{{student.Behaviors.[0].['behavior_id']}}
  </code></pre>
  <p>I get a response of</p>
  <pre class="lang-js prettyprint-override"><code>[object SequelizeInstance:Behavior]
  </code></pre>
  <p>How can I get the student's name and the student's behaviors?</p>