Expand hash keys into an object with the given values.