Found that, decided I did not want Spidermonkey on my server running untrusted user generated JS. Also, it seemed ironic to have Spidermonkey be a dependency for my "lightweight" shell scripts.
This is what I thought too. JSON is lightweight and so should be the tools for using it.