Prettied up the getModulesInfo method