Reimplement report parsing