access json instead of pdf in ReportsView