extracting json working, moving to new array, working on writing to text file
json format validated
finished steps 1 and 2