I see JSON more as a hindrance than an advantage. Putting a function invocation in string in some other data format seems rather strange to me. It almost seems like you have created something like Lisp.
How about instead of trying to use some home-brewed pseudo language you try to extent something like coffescript?