Add dump function to parsers