Normalize key names when making variables

Many keys come back from the API with dashes in them, which isn't
allowed in Ruby variables or method names. So normalize them to replace
'-' with '_'.