Rest endpoint using node and restify