private function getTags($event)
{
$unformatted_tags = $event->getScenario()->getTags();
$tags = array();
foreach ($unformatted_tags as $tag) {
$tag_elements = explode(' ', $tag);
$index = null;
if (count($tag_elements < 1)) {
$index = array_shift($tag_elements);
}
if (count($tag_elements == 1)) {
$tag_elements = array_shift($tag_elements);
}
$tags[$index] = $tag_elements;
}
return $tags;
}