fixed model_schema recursion bug and struct validation