Text this: The Rational Design of International Institutions