qapi/introspect.py: Add docstrings to _gen_tree and _tree_to_qlit