Kinda cool.
But I'm not sure I understand the reasoning for this though.
Essentially, you've created a way to parse and query objects using an object structure to hold them? so json.
Then I assume you are storing this in localStorage or something similar?
If you are going to go down the back end route though you'd surely just opt to be using mongoDB no?