Convert new config format to internal structure