fix cocoonTest.js json file parsing