Adding JSON driver protocol spec to the docs

@neumino -- could you please review?
Specify the encoding used, I believe it's `utf-8` -- ping @mlucy