I ended up using a code snippet from this gist. I modified it to suit my needs.
Here's my result (and answer to my own question):
dust.helpers.myHelper = function(chunk, context, bodies, params) {
var output = "";
chunk.tap(function (data) {
output += data;
return "";
}).render(bodies.block, context).untap();
console.log( output ); // This will now show the rendered result of the block
return chunk;
}
This can also be abstracted to a separate function:
function renderBlock(block, chunk, context) {
var output = "";
chunk.tap(function (data) {
output += data;
return "";
}).render(block, context).untap();
return output;
}
dust.helpers.myHelper = function(chunk, context, bodies, params) {
var output = renderBlock(bodies.block, chunk, context);
console.log( output ); // This will now show the rendered result of the block
return chunk;
}