Serial parser rewrite