Changes in JSON responses

I did some changes to have a better format in the JSON responses. I updated the doc accordingly to those responses.