Replace "flags" with "state" in the ds_list output