move all functions to node http api

* request is no more required as a dependency
* form-data is required as a dependency
make code cleaner
fixes small stuff

* post request with no callback
* remove clone function
* export of the JsonClient class