Since record.keys will always return lowercase, we will just downcase it