Fieldbus Module assignment Xref

I'm trying to extract a list of fieldbus (ff) devices and the associated referencing module, but I can't seem to get the export to work completely.

The info can be displayed in IO Config if ordered by module, but I can't print this list to xml, printing to generic text file is the about the best I cant get, but it is full of padding which will require a lot of manual rework.  Exporting gives me all ff details and blocks but not referencing module.

fhx is about the only way I can see of doing this, but that also will take a lot of rework to extract device specific data.

Anyone got a simpler solution?