pkg: move to more generic StringsFlag

/cc @xiangli-cmu
fixed