Adding JSON driver protocol spec to the docs

@neumino -- could you please review?
Add an example where the result is a stream.