Fixed mistakes in the README examples for encode_to_list, decode_to_list