added a json object creation for problems and actions