exit on json dump