public function summarize($json = false)
    {
        $attributes = [
            'id' => $this->getKey(),
            'name' => $this->getAttribute('name'),
            'type' => $this->getAttribute('type'),
            'meta' => $this->present()->metaDescription,
            'thumbnail' => $this->present()->thumbnail,
            'preview' => ($this->type === 'image') ? $this->present()->filteredImageWith('rcompact') : ''
        ];

        foreach ($this->translations as $translation)
        {
            $attributes[$translation->locale] = [
                'caption' => $translation->caption,
                'description' => $translation->description,
                'alttext' => $translation->alttext
            ];
        }

        return $json ? json_encode($attributes) : $attributes;
    }