Convert iseq->coverage to a struct containing line, method, and branch coverage data