Some time ago patch: 32b9c6130762 ("Preserve datatype markers when emitting dts format") broke label printing. The first patch fixes the bug. The second patch adds a test that defines how labels should be printed. I don't really know what difference does it make and what is the proper way. This is just a proposition.