fix Pair.UnmarshalJSON