title: return json to ajax in symfony?
body: <p>In symfony, I call an action and I want this to return json to jQuery frontend.</p>
  
  <p>The Jobeet tutorial teaches how to return a partial but I want to return json, not a partial.</p>