use correct paramter type for calling readJson

hopefully fixes "message confusion" and occasional exceptions

Jira-issue: WP-1258