change connected string to json