code: func isKV(data map[string]interface{}) (string, bool) {
  	if len(data) == 1 {
  		if value, ok := data["value"]; ok {
  			if text, ok := value.(string); ok {
  				return text, true
  			}
  		}
  	}
  	return "", false
  }
docs: // isKV checks if a given map has only one key of type string
  // if so, returns the value of that key