Replace hypens in database key with underscore