use string type instance parameter for readJson call

Jira-issue: WP-1258
Merge pull request #38 from aldafu/WP-1258-string-type-readJson-call-fix

use string type instance parameter for readJson call