add support to convert entity to JSReportDataSource