this small MR fixes a bug where we did not add the docstring of classes to the generated json schema.