added completions support to REST console