add isCollection flag to related entities in exported format