Fix a problem in toString if there is no config info to stringify