store copy of Entity in entity_table to avoid weird memory issues