fixup! correct schema creation for nested objects