[PATCH v5 4/4] RFC: lib: Convert str_to_list() to use alist