Note that on existing stashes you will need to pre-pend the existing key with an addition key 'json' to ensure existing functionality works.
Catalyst Controller
$c->stash->{json} = \@nodes; #array of treeloader data
Catalyst Application lib/app.pm
__PACKAGE__->config(
'View::JSON' => {
expose_stash => 'json', #extjs TreeLoader requires an array of data
}
);
