queryfilter refactoring, so that filter options display in the OPTIONS query to the API