Use :queries and :numQueryThreads in json template