Test if record is dict object in get_modification_time function