Added a TIR to XML serializer for the McCli backend (.NET).