Propagate entity_templates and headers from tables to maps