Fix parsing of data about connected peers.

Bad typing caused calls to getPeerInfo to throw exceptions. For parsing
to succeed, the peerSubversion field of PeerInfo must have type Text and
the result type of getPeerInfo must contain a list.

After updates, PeerInfo remains incompletely documented.