include parsed json in error reports
change how errors are caught from callbacks
add new test for errors in done callback