added support for printing all tags via ostreams and extended parser