toMap validation for CreateNotificationForm