wrap keywords-table in a memoized accessor function