Object factory with schema validation for default tree nodes used by mojule
mtype backed by json schema