SONAR-3755 fix JSON report when directly analyzing module (like in Eclipse plugin)