[Feature] moving to json

The module.exports thing was cute, but annoying.