switch our []string{...} for params into a struct{key, value string}