code: def detect_json_strings(raw_text):
      
      strings = re.split('}\s*(?={)', raw_text)
  
      # put back the stripped character
      json_strings = [string + '}' for string in strings[:-1]]
  
      # the last one doesn't need to be modified
      json_strings.append(strings[-1])
  
      return json_strings
docs: Use regex with lookaround to spot the boundaries between JSON objects.
      Unfortunately, it has to match *something*, so at least one character
      must be removed and replaced.