adding a method to get Group by alias in an Application recursively