Add support for downloading reports in xml format

Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>