Update rest package to request instead of restify