$host = $c->get_dbconfig->{servers}[2]{host}; as opposed to: $host = C('dbconfig.servers.2.host');