pub fn invert_paths<'a>( transaction: &'a Transaction, root: &str, tree: Tree<'a>) -> JoshResult<Tree<'a>>