Fix some broken JSON caused by warnings.