protected function process_merged()
    {
        $data = $this->data;

        if (empty($data) && $this->last_selector !== null && !$this->is_special_selector('#')) {
            $data[$this->last_selector] = array();
        }

        foreach ($this->merged as $r) {
            foreach ($r as $selector => $response) {
                if (!ctype_digit($selector)) {
                    if (isset($data[$selector])) {
                        $data[$selector] = array_merge_recursive($data[$selector], $response);
                    } else {
                        $data[$selector] = $response;
                    }
                } else {
                    $selector = (int)$selector;
                    while (isset($data['0' . $selector])) {
                        $selector++;
                    }
                    $data['0' . $selector] = $response;
                }
            }
        }

        return $data;
    }