modules2tuple is a helper tool for generating GH_TUPLE from vendor/modules.txt