Add overload to emitMap to support java.util.Map argument