adding implementation of ht-from-alist