public static function SerializeRow(&$Row) {
      foreach ($Row as $Name => &$Value) {
         if (is_array($Value) && in_array($Name, array('Attributes', 'Data')))
            $Value = empty($Value) ? NULL : serialize($Value);
      }
   }