Use aeson's eitherDecode instead of just decode
Merge pull request #125 from k-bx/either-decode

Use aeson's eitherDecode instead of just decode
Add more tests