Fixed JSON problems... hopefully

also quieter dieing!