Prevent error on missing attribute for NotificationSerializer