fn expand_rtdl_node( node: &Value, path: &str, target_map: &HashMap<String, (String, String)>, plan_id: &str, next_call: &mut usize, nodes: &mut Vec<RtdlNode>, ) -> Result<u32>