luci-base: support reading switch topology from /etc/board.json