Fix: serialize_to_dict returned Config instances instead of values for leaves