Detect non-converted environment variables in JSON.

Also cleans up the Exceptions to all subclass from a common one.