Could you please add a "Content-Type" setter method to the module object (or whereever) to convoy it to the displaying level ?
As far as i can see there is no way to do this w/o modifing cms variables directly and i'm currently doing it this way (since 9.2):
$this->cms->variables['content-type'] = ' text/xml';
Regards,
Michael