Replace by:
```javascript
throw new Error("Improper JSON: "+packageContent);
```
...so that express generic errorHandler works.