S-48324 Pull out translator for gitHubEventsToApiResponse for unit testing