Write final JSON report also.
Merge pull request #2 from plasticine/master

Write final JSON report