JSON support in emitter.