experimental option to emit JSON in EMCC_DEBUG=2 interim phases