allow empty properties too in method overwriteDemandObject, closes #32