read all summaries first and collect them, then pass that through when generating the classes