Replaces in the middle of a hash