use correct paramter type for calling readJson

hopefully fixes "message confusion" and occasional exceptions

Jira-issue: WP-1258
Merge pull request #67 from aldafu/WP-1258-fix-call-to-readJson

use correct paramter type for calling readJson