Add XML root names as type distinguisher