code: func structFromMap(m map[string]string) *structpb.Struct {
  	out := &structpb.Struct{
  		Fields: make(map[string]*structpb.Value, len(m)),
  	}
  	for k, v := range m {
  		out.Fields[k] = &structpb.Value{
  			Kind: &structpb.Value_StringValue{StringValue: v},
  		}
  	}
  	return out
  }
docs: // structFromMap constructs protobuf.Struct with string keys and values.