better config string formatter