I don't really understand. if the function param is an object, `{id: icon}`, why do you need keys and iterating over them? why not just for-each, and then you'll have the iconId?