Added stdout output to JSON parsing