Safeguard against unexpected field name responses from the REST API

Related to Bug 963615.