using var doc = new TemplateDocument("path/to/my/document.docx");
var src = new VariableSource(jsonString);
var engine = new DefaultOpenXmlTemplateEngine();
engine.ReplaceAll(doc, src);
doc.SaveAs("result.docx"); // this line saves document to file, but I need byte[], cannot save files to disk