add indent print for event and entity