Fix misplaced new line when appending resource summaries