|Keep It Simple, Stupid|
You have it backward. You don't need to disable some template filter. You need to create and then enable an appropriate template filter.
That is a syntax error. So you need to change your template to contain lines more like:
or, perhaps even better:
And, no, Template::Toolkit doesn't come with a pre-built js_str filter so you'll have to create that as well.
In reply to Re^9: perl dancer route template hashref pass complex json file to server issue (the reverse)