convert client bools to a flags map