Fix old magres parser to emit proper data