moved getStrRep to ConfigServiceProvider