This is a great idea, however I have a couple of remarks:

1. This only works if commonjs modules (“module.exports”) are used, which seems to be an unnecessary restriction. I, for one, do not organize my code that way.

2. js2json and json2js fit well into the same project, since one assumes as input the output of the other. The separation may lead to compatibility problems.