Fall back to stdlib if lxml is unavailable
Pretty print when lxml is not available