simplified some code, added the ability for member definitions to be extended by the defined types in model_descriptor.json