Fix getLocaleConfig

tValues function must convert an object to an array but currently a similar object is returned.