fix import errors in new sketched-out code
change "transport record" into "channel record" (which includes transports)

We store "their channel record" as JSON in the addressbook entry, since
we don't need to index any of its properties.