add better keyword handling for kvalist->plist