RLIB-11 add type hinting to field output in XML output