if let snapValues = snap.value as? [String : AnyObject] {
    showAlert(with: snapValues)
}