Base class for formatting info generated by parseinfo classes.
This class can be subclassed for easily changing the output format,
or more drastically a new class which supports a write() method with
the same interface can completely replace this class.