Assign data from a jason file to an array outside of fetch() for the purpose of using user input to filter the jason file data I have a json file whose structure looks like this: