added in recursive schema generation for NestedField type