giQuery->set() fix for arrays and dates