Added creation of sub-models if a model property is described by a model and the createSubModels option is passed.