generate enum now implement Stringer interface