Catches and throws errors in JSON - report()