Require JSON rather than using fs.

This automatically caches, simplifies the code, and also makes it
easier for browserify to use this module.
Remove methods we don't need.
Remove 'uninhabited' data we don't need.
Remove test data.