nsuserdef return key value pairs