echo querytype back in response