Change config string to json