json: add sub-section on default de/enconding (staging area)

Cover deconding from &str, default decoding and encoding into String (ref. #86)

(Similar to the previous PR, with added encoding)
We can cover pretty printing with another example. I wish there was a `pretty_str_encode`.