[noticket] Fix debug logging exception when you submit an empty data_dict.