pub fn write_tree(out: &mut String, tree: &LayoutTreeIR)
Render the entire IR tree into out as canonical JSON.
out