when creating JSON report, data from the report is automatically inserted in MySQL database