Throw simple message from from_json sub.
Fix test to the code change.
Merge pull request #9 from wtertius/throw_simple_exception_in_from_json

Throw simple message from from_json sub.