code: func ScopeKVUpsert(key string, value []byte, flags uint64) map[string]interface{} {
  	return map[string]interface{}{
  		"key":   key,
  		"value": string(value),
  		"flags": flags,
  	}
  }
docs: // ScopeKVUpsert returns the standard sentinel scope for a KV create or update.