read_saint_api_report, refactor SAINT stuff a bit.