[SMA-2] Add support for generating a report in XML
Merge branch 'SMA-2'