Fixed xml indenting. Added javadoc to reporting