QName implements WritableObject and we also have Data{input,Output) in yang-data-codec-binfmt.
Currently QName.writeTo() has no way to take advantage of facilities provided by NormalizedNodeDataOutput, leading to poor serialization in this case.
Add common meeting points for the two components, so that they can efficiently interoperate.