swapped key and entity in dictionary entity-pair schema