} else {
if (!this.$scope.editPropertyModel.property.simpleType && !this.$scope.isSimpleType(property.type)) {
property.defaultValue = JSON.stringify(this.$scope.myValue);
} else {
if (!this.$scope.editPropertyModel.property.simpleType && !this.$scope.isSimpleType(property.type)) {
property.defaultValue = JSON.stringify(this.$scope.myValue);