@Override
protected String internalRender(Map<String, Object> args) {
GTRenderingResult renderingResult = internalGTRender(args);
ByteArrayOutputStream out = new ByteArrayOutputStream();
renderingResult.writeOutput(out, "utf-8");
try {
return new String(out.toByteArray(), "utf-8");
} catch ( UnsupportedEncodingException e) {
throw new RuntimeException(e);