[RFC PATCH v2 04/48] lib: Convert str_to_list() to use alist