parser: remove unused fields from struct parser