use string type instance parameter for readJson call

Jira-issue: WP-1258