code: func convertIsolateToJSON5(content []byte) io.Reader {
  	out := &bytes.Buffer{}
  	for _, l := range strings.Split(string(content), "\n") {
  		l = strings.TrimSpace(l)
  		if len(l) == 0 || l[0] == '#' {
  			continue
  		}
  		l = strings.Replace(l, "\"", "\\\"", -1)
  		l = strings.Replace(l, "'", "\"", -1)
  		_, _ = io.WriteString(out, l+"\n")
  	}
  	return out
  }
docs: // convertIsolateToJSON5 cleans up isolate content to be json5.