ref-filter: abstract ref format into its own struct