Change an objects keys to new keys.