change ObjectConfig to ConfigDict and make it inherit from Dictionary