Changes emitMap method to protected so that the emitter can be extensible for JVM languages