Pretty print when lxml is not available