if (typeof fromTreeWrapped[0] === 'string') throw new Error(`invalid treeNav pointer ${JSON.stringify(treeNavArray)} in ${serialize(fromTreeWrapped[0])} no branch ${treeNavArray[0]}.`);
if (Array.isArray(fromTreeWrapped[0])) {
const branch = treeNavArray.shift();
const extractedTree = fromTreeWrapped[0][branch]; // recursive here ?