func (p Payload) AddDict(dict map[string]string) {
	for name, element := range dict {
		p.Add(name, NewString(element))
	}
}
AddDict pushes an array of key-value pairs to the payload.
package tracker
import (
	"encoding/base64"
	"encoding/json"
)
type Payload struct {
	pairs map[string]string
}
func InitPayload() *Payload {
	return &Payload{pairs: map[string]string{}}
}
func (p Payload) Add(key string, value *string) {
	if key != "" && value != nil && *value != "" {
		p.pairs[key] = *value
	}
}