added json export and report generation from .json