Fix message for data URI that doesn't exceed chunk size and log message object instead of string