Show parse error message during a failed import

adds support for outputting error message during a failed JSON.parse
This will help people identify the problem with their JSON source
and hopefully be able to aid them in resolving said issue.
Merge pull request #2071 from samccone/sjs/show-error-on-import-failure

Show parse error message during a failed import