switch #rest handling to a Wat::Rst class instead of a parser trick