Use RestClient instead of open-uri