docs: def tagAttributes(fdef_master_list,node,depth=0):
      '''recursively tag objects with sizes, depths and path names '''
      if type(node)==list:
          for i in node:
              depth+=1
              tagAttributes(fdef_master_list,i,depth)
      if type(node)==dict:
          for x in fdef_master_list:
              if jsName(x.path,x.name)==node['name']:
                  node['path']=x.path
                  node['depth']=depth
                  if "children" not in node:
                      node["size"]=x.weight
          for i in node.values():
              depth+=1
              tagAttributes(fdef_master_list,i,depth)
      return node