Lisp has had "assoc lists" something like this since ancient times:
(get 'symbol key) ; fetch (setf (get 'symbol key) val) ; store