Holy. F-ing. Snickerdoodles. I needed to change a JSON metadata file into a CSV file suggested I try asking chatGPT I gave it examples of input and output and it gave me EVERYTHING I NEEDED! All I had to do was change two filenames in the code