to_unicode for tuple, list and dict
remove duplicate log records in log file