add structured messages by logging a dict.