Use HttpError & response.json
Use express.compress() middleware if !ENV_DEV