Issue #25: fixing parameters use to follow the convention.

*	modified:   index.js
- Simplifying the use of the config to use the isJson value.