protected function transformRelated($itemTransformation, $item)
    {
        foreach ($this->related as $relation) {
            // get direct relation name.
            $relationName = explode('.', $relation, 2)[0];
            $itemTransformation[$relationName] = $this->getRelatedTransformation($item, $relation);
        }

        return $itemTransformation;
    }