Add sock.format('json') to the readme

I added a short example in the codecs section of how to actually format a socket with a specific codec