make buffers work over post message, by jsonh encoding them

this fixes buffers, and also makes the demo more useful - showing the raw messages.