Add JSON unmarshal error check. Update README.md