Fixing broken JSON test cases