A parametrized compactness theorem under bounded Ricci curvature