Fix broken JSON object closure