From String to List of Strings in Generator