Refactors JSON test suite.
travisplexer: pr-507-osx travis ci test