code: public function serialize_row($row)
      {
          foreach ($this->callback_parameters as $column)
          {
              $row[$column] = serialize($row[$column]);
          }
  
          return $row;
      }
docs: Serialises data for you automatically, allowing you to pass
  through objects and let it handle the serialisation in the background