quick hack to send modules as a single string

we used to build the modules object on the client, piece by piece, which
made debugging nicer, or would have if it didn't cause so many crashes