Python module to format, in a console-friendly and human-readable way, a document specified through its structure