protected function transformProperties()
    {
        $properties = empty($this->data[static::FIELD_PROPERTIES]) ? [] : $this->data[static::FIELD_PROPERTIES];
        $this->data[static::FIELD_PROPERTIES] = new DatasourceProperties($properties);
    }