Move exceptions to standalone module.
Catch exceptions that occur prior to JSON parsing.
Clean up method names.
v0.1.12