removed spurious debug option
added json report output