code: func YAMLToJSON(data interface{}) (json.RawMessage, error) {
  	jm, err := transformData(data)
  	if err != nil {
  		return nil, err
  	}
  	b, err := WriteJSON(jm)
  	return json.RawMessage(b), err
  }
docs: // YAMLToJSON converts YAML unmarshaled data into json compatible data