private function getHypertextJson($routes = [])
    {
        if (!$routes) {
            return false;
        }
        $links = [];
        foreach ($routes as $name => $route) {
            $links[] = ['rel' => $name, 'href' => $route];
        }
        return $links;
    }