Code to create tables based on message body.