public function getUpstreamServersAsArray()
    {
        // iterate over all upstream servers nodes and transform them to an array
        $upstreamServers = array();
        /** @var \AppserverIo\Appserver\Core\Api\Node\UpstreamServerNode $upstreamServerNode */
        foreach ($this->getUpstreamServers() as $upstreamServerNode) {
            // build up array
            $upstreamServers[] = array(
                'name' => $upstreamServerNode->getName(),
                'type' => $upstreamServerNode->getType(),
                'params' => $upstreamServerNode->getParamsAsArray()
            );
        }
        // return upstream servers array
        return $upstreamServers;
    }