This is currently grabbing the entire dialect object instead of just the string representing its name.