Loop Through Object Javascript React Promise