fix broken module by using properly-formatted JSON

also removed the unnecessary index.js middleman