tidy up dump output a little