using Sprintf here is probably overkill... how about just `pairs[i] + "=" + pairs[i+1]`