// Get req.hash with a perfect JSON as you expected
console.log(req.hash);
});
API
// Transform the given json as a cool hash
cool.sanitize(schema);
// Aliases: cool.s(schema), cool.sanitization(schema)
// Validate the given json to respect your standards
cool.sanitize(schema);
// Aliases: cool.s(schema), cool.sanitization(schema)