As I was poking in the code, I didn’t like that at some places, pushKV is being used, and at other places, push_back(Pair()) is being used. So I changed the style to pushKV. (It’s done automatically by sed, see the git comment on the first commit)
I also realized that the Pair Univalue code is not used anymore with this change anymore, and since there is this comment in the source code for about 2 years
// Most duplicate other methods, and should be removed
I went ahead and removed it
It’s all mostly bikeshed