protected function mergeArguments($routeArguments, $requestArguments)
    {
        $input  = array($routeArguments, $requestArguments);
        $output = [];

        foreach ($input as $keyValueStore) {

            foreach ($keyValueStore as $key => $value) {
                $output[$this->escape($key)] = strval($value);
            }
        }

        return $output;
    }