added a helper class to generate key => val arrays with taxonomy terms