use fallback for missing id property

fixes exception for readJson

Jira-issue: WP-1258