split out row_for_[inbound|outbound]_message() (thanks @Hodgestar)
better UnicodeDictWriter docstring (thanks @hodgestar)