Similar toGetStructPathName()but works with nested structs by using just the package name and struct name so a struct path name /Package/Name.Object:Struct will be flattened to /Package/Name.Struct. This function is used only for generating keys for DeferredCppStructOps