Export functionality for entities and their attributes