Recursively transform nested vectors into Node instances