Concept Flow - $replaceRoot for restructuring
Input Document
$replaceRoot Stage
New Root Document
Output Document Stream
The $replaceRoot stage takes each input document and replaces its root with a specified embedded document, producing a new output document stream.
