changed _general_representation to print tag if not None