Fix error reporting behavior (mostly), drop attoparsec dependency