json response for anagrams api