Use decode! in the json decoder
Improve docs