code: func dimsToMap(dims producers.Dimensions) map[string]string {
  	results := map[string]string{
  		"mesos_id":            dims.MesosID,
  		"cluster_id":          dims.ClusterID,
  		"container_id":        dims.ContainerID,
  		"executor_id":         dims.ExecutorID,
  		"framework_name":      dims.FrameworkName,
  		"framework_id":        dims.FrameworkID,
  		"framework_role":      dims.FrameworkRole,
  		"framework_principal": dims.FrameworkPrincipal,
  		"task_name":           dims.TaskName,
  		"task_id":             dims.TaskID,
  		"hostname":            dims.Hostname,
  	}
  	for k, v := range dims.Labels {
  		results[k] = v
  	}
  	return results
  }
docs: // dimsToMap converts a Dimensions object to a flat map of strings to strings