find first unique char in str with groupBy and collectFirst