swap key name / value