properties-set: assign the key to a value in properties format