JSON dictionary error handling redux

Supersedes #144.