Fix docstrings of generate_gml and write_gml