Could you add same test in `test_emit_json` ?