Exit on bad json