Introducing the Parent#representation method

This new method was used to refactor the logging of warnings with
occurance of duplicate tags.