Merge pull request #1039 from amarvin/patch-1 Continues processing JSONs even if hook fails (fixes #1038)