refactor(globaltocjs): no longer store all node paths and use namespace parts for module naming