Fix for GitHub issue #15 - JSON reporting