My bad, I should've entered the command as "eval(npc_id)['appearance']['accessories'] ", but misspelled it to "eval(npc_id)['appearance']['accesories'] " instead XD
Now it works well. Thanks :)