sS vosk_postprocess(S voskOutput, O... _) { optPar bool verbose; new LS out; for (S s : tlft(voskOutput)) pcall { if (startsWith(s, "{")) { if (verbose) print("JSON line? " + s); S text = cast jsonDecodeMap(s).get('text); if (nempty(text)) out.add(text); } } ret lines_rtrim(out); }