protected function normalizeData($data)
    {
        foreach ($data as $attribute => $info) {
            if (is_array($info)) {
                if (count($info) == 1) {
                    $data[$attribute] = $info[0];
                    continue;
                }
            }
        }
        return $data;
    }