fix broken JSON, refs T434