Script to package problem data into a json file