Not using dynamic getters in Entity::extract()

Fixes #4395

Seems like people are using entities more like a data transfer object instead of
a real entity. Protecting us from a flood of future issues by accounting for
how they are being used so far.