get_merge_key_pair function

Gets keys vector from keys list