Add REST endpoint for looking up a word in the dictionary