migrate querybuilder field collector to support annotation and yaml configs