Use ParseEvent.Type in Emitter (follow YamlDotNet recent changes)