Also works when the id is in the properties.
A bit more explicit DeserializationError message.