code: func (q *SuggesterCategoryQuery) Source() (interface{}, error) {
  	source := make(map[string]interface{})
  
  	switch len(q.values) {
  	case 0:
  		source[q.name] = make([]string, 0)
  	default:
  		contexts := make([]interface{}, 0)
  		for val, boost := range q.values {
  			context := make(map[string]interface{})
  			context["context"] = val
  			if boost != nil {
  				context["boost"] = *boost
  			}
  			contexts = append(contexts, context)
  		}
  		source[q.name] = contexts
  	}
  
  	return source, nil
  }
docs: // Source returns a map that will be used to serialize the context query as JSON.