Allow plugin modules to be .json files

This lets projects include JSON files as they would in Node.js