Misc changes: 1. Adds a toJson method to Model 2. Adds an __isDestroyed property 3. Fixes handling of [any] 4. Removes cloning of defaultValue: object 5. Adds autocreation of empty array for property type: [...]
Misc changes:
1. Adds a toJson method to Model
2. Adds an __isDestroyed property
3. Fixes handling of [any]
4. Removes cloning of defaultValue: object
5. Adds autocreation of empty array for property type: [...]

layerhq/modscore,layerhq/modscore