expose apps.json through CommomJS module interface

So we can import it cleanly in node.js