use deflat from node-restify-validation