code: func FromJson(str string) map[string]interface{} { // nolint
  	m := map[string]interface{}{}
  
  	if err := json.Unmarshal([]byte(str), &m); err != nil {
  		m["Error"] = err.Error()
  	}
  	return m
  }
docs: // FromJson converts a JSON document into a map[string]interface{}.
  //
  // This is not a general-purpose JSON parser, and will not parse all valid
  // JSON documents. Additionally, because its intended use is within templates
  // it tolerates errors. It will insert the returned error message string into
  // m["Error"] in the returned map.
  // TODO: change the function signature in Helm 3