add basic ability to return a report as json