Added error handling of JSON request call
Rewrited readme