Harden entity parsing.

To deal with some still broken data in Cassandra.
nit pick - ``t`` isn't used, use ``_`` instead.