Fixed json 404 issue in boilerplate 404 handler (config/404.js)