is there a way to convert output of subprocess.Popen to Json in python3? In my case i have function which gets output from: