function addCommonNodeProperties(prop, commonRecordMap) {
            const recordKey = prop.programPropertyName.toLowerCase()
            // TODO: recreate this function in the export governance app file
            let nodes = UI.projects.workspaces.spaces.designSpace.workspace.getNodesByTypeAndHierarchyHeadsType(prop.programName, prop.programPropertyName)
            for (let j = 0; j < nodes.length; j++) {
                let node = nodes[j]
    
                let weightPower
                if (node.payload.votingProgram !== undefined) { 
                    weightPower = node.payload.votingProgram.votes
                 } else {
                    weightPower = 0
                 }
    
                /*
                Display node name and path
                */
                let name = node.name
                let nodePath = []
                if (node.payload.parentNode !== undefined) {
                    if (node.payload.parentNode.payload.parentNode !== undefined) {
                        if (node.payload.parentNode.payload.parentNode.payload.parentNode !== undefined) {
                            if (node.payload.parentNode.payload.parentNode.payload.parentNode.payload.parentNode !== undefined) {
                                nodePath.push(node.payload.parentNode.payload.parentNode.payload.parentNode.payload.parentNode.name)
                            }
                            nodePath.push(node.payload.parentNode.payload.parentNode.payload.parentNode.name)
                        }
                        nodePath.push(node.payload.parentNode.payload.parentNode.name)
                    }
                    nodePath.push(node.payload.parentNode.name)
                }
                if (nodePath.length) {
                    name = name + ' ('
                    for (let i = 0; i < nodePath.length; i++) {
                        name = name + nodePath[i]
                        if (i < (nodePath.length - 1)) { name = name + ' - ' }
                    }
                    name = name + ')'   
                }
                const record = newCommonRecord()
                record.name.value = name
                record.tokensReward.value = node.payload.tokens | 0,
                record.rewardsInBTC.value = UI.projects.governance.utilities.conversions.estimateSATokensInBTC(node.payload.tokens | 0),
                record.weight.value = (node.payload.weight * 100).toFixed(2) + '%',
                record.weightPower.value = weightPower
                commonRecordMap[recordKey].push(record)
            }
        }
@param {TablePropertyDefinition} prop
@param {CommonRecordMap} commonRecordMap