better error message when CRM metadata can't be parsed