Merge "Implement Pair.toString() for compat library" into nyc-mr1-dev