Add a simple example of using a snap server to send well typed json back and forth