for #19 to catch the raised exception and not the module name.
remove unicode and put str back in for json_errors
Merge pull request #37 from dherbst/issue_19

Fix #19 to catch the raised exception based on the base exception and not a specific module name
for #38 to fix the python tests, this conflicted with the other PR