toMap for NotificationsController