Wrong json schema when nested basemodels