flatten filter and list states into dot-notated keys