Move summary to common header.
Change struct tree_info to struct resources_info
Parsing single summaries from stream.
Printing/parsing of multiple summaries per file.