[backend] support for dumpstate and dropbadhosts in bs_dispatch