Return a validated config