added a useful debug output for a broken JSON build.