SKIP if JSON module is not present

Fixes #1022
Merge branch 'issue/1022' into devel