Use brtr_node_stree() instead of ad-hoc code in brtr_node_to_json().