Generating JSON report