Generate REPORT bodies for event fetching

Includes a <time-range> filter
Make XML tests more readable

Now it's easier to check if the XML from the test is correct.