Exporting data from chat.nzoss.nz

I wonder if there are any tools available for exporting data from a RocketChat server, in a format that can be ingested by a matrix server? If so, we could export the publicly-archived rooms on chat.nzoss.nz, and turn them into Matrix rooms, by ingesting them into matrix.iridescent.nz.