Remove port from listener options.
Emitter now requires name and attributes on input.
Implement UnmarshalJSON interface.
Update emitter usage.
Make MarshalJSON match UnmarshalJSON.
Fmt.