remove rest-client and json

use net/http and okjson instead