write a RandomDB Message instance