Not quite sure what to say about this report. The output is valid python, setting the lsdvd variable to a dictionary with the values extracted. It is as you state, close to JSON but not JSON. Changing the output to become JSON would break every current user expecting it to be Python. The quotes and extra commas could be safely changed, but replacing lsdvd = { with {"lsdvd": { would not.