better token parser for multi-dc rings