Add an possibiliy to choose returned content-type runtime
For example, when client sent in headers
we answer in JSON format, when
we serialize answer in XML, and so on.
Now it's impossible because mimetype is hardcoded when we call Emitter.register. Or I miss something?
It will be nice, if we have so ability out of the box with fallback JSON-format