Adding image in YARG report

I am using YARG library in my project and trying to add image in report. How should I properly add an image in runtime?
My code:

BufferedImage image = provider.getBufferedImage();

        BandBuilder bandBuilder = new BandBuilder();
        ReportBand main = bandBuilder.name("Main").query("Main", "return [\n" +
                "                              [\n" +
                "                               'product':" + "CARD" +",\n" +
                "                               'date' :'" + dateString + "',\n" +
                "                               'client' : '" + fio + "',\n" +
                "                               'masterId': '" + application.getMasterId()+ "',\n" +
                "                               'barcode': " + image + ",\n" +
                "                            ]]", "groovy").build();

Error Text:

Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 7: unexpected char: '#' @ line 7, column 89.
   5baed4: type = 10 ColorModel: #pixelBits