code: func Encode(element interface{}) (map[string]string, error) {
  	node, err := internal.EncodeToNode(element)
  	if err != nil {
  		return nil, err
  	}
  
  	return internal.EncodeNode(node), nil
  }
docs: // Encode Converts an element to labels.
  // element -> node (value) -> label (node)