instead of using JSON to provide the filter names, we should use thrift again here