Add option to download reports as json