Restructure replay_data for Github API tests