Are you sure your routes are working? I tested your exact scenario with two random controllers and it works. Perhaps try adding exit; after your first echo in getJson method.

In general a better solution would be to move the code from your json controller into library/helper file or a model if it is db related. This way you will be able to use it anywhere you want without violating MVC principles.