Updated config keys function to only return configurations that are for modules