Different approach: try and parse/write unknown entities as plain
'Entity' type. This is less safe, but potentially lets decoupled apps
work without knowledge of all the available entity types. However, it
seems to reveal a bug in the server somewhere. TODO: fix.