allow json coercion for exception cases based on :coerce setting, can
be either :always, :exceptional or :unexceptional.

Fixes #118