Component: change an objects keys to new keys.