@naeem For a sensible answer, I need to know more information. Which JSON file is it and what is it for?
JSON file is easy to create, just click "Write to file", for example, with the name "my_file.json". You can find the content (syntax) of JSON here: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON
The CSS selector for it doesn't work and when I find a selector that does pick it up, the captcha is unsolvable because the keys cannot be found. I am using 2captcha
The same way like you did it before, just load cookies and apply fingerprint, and eventually save as profile so your cookies and fingerprint would be saved for future use - next time you only need to load profile which will preserve fingerprint and cookies.