[doc] Only `stringify` in JSON example
[api] Add a helper `stringify` stream
[doc] More examples
[test] Add tests