Hmmm.... yes, that would be a possibility.
Ideally I want a MODx JSONstore which handles the request like the rest of the MODx components.
I’ll see if I can backtrack the way MODx Ajax request does url handling and take it from there...
MODx Revolution / MAMP / OS X