Refactor out common appendEntryResponse