I think it would be better to do something like what connect does:

From http://www.senchalabs.org/connect/json.html

```javascript
exports.regexp = /^application\/([\w!#\$%&\*`\-\.\^~]*\+)?json$/i;
```