* added send json data example
* bug fixes