Export result to json and add python script to test the output.