In my web application I am trying to keep all PHP Toolkit (and hence all RPG calls) in one module. This is great as it is allowing me to create a module for each potential API we might have to our database. When a user needs to enact a program I have a route setup to call my RPG and return JSON. I use AJAX within the view to call the program. On initial load I want to call this controller and action to pre populate some values. How would I dispatch a route from a controller and return the JSON and then return it to my view? Thanks!