use pojo yaml emitter