Call to list_append_dict cannot fail.

Clean up the use of list_append_dict and remove error checks.
Call to list_append_string cannot fail.

Clean up the use of list_append_string and remove error checks.