Added dependency check for JSON module, closes #150