C++ fix: string_split pass resourceInfo struct