Hedging Complexity in Generalization via a Parametric Distributionally Robust Optimization Framework