public function getTasksAction()
    {
        $tasks = [];
        $list  = $this->getTensideTasks();
        foreach ($list->getIds() as $taskId) {
            $tasks[$taskId] = $this->convertTaskToArray($list->getTask($taskId));
        }

        return $this->createJsonResponse($tasks, true);
    }