review: add a nonjsonable test in test_emit_json