Shorten travis' phantomjs binary path
Fix markdown capitalization
Add json reader and its tests
Reduce duplication

Some would also say it'd be a good idea not to put random stuff in the
global namespace. One day I'll figure it out.