I am using react hooks and have a dynamically filled array of values after a backend call. How can I then insert these values (which I don\'t know a priori) in a checkbox?