Solved by using the setting suggested inhttps://gitq.com/daust/JasperReportsIntegration/topics/19/json-error-after-call-to-jri-show-report-get-report