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)
No need to use the full path here, `str_encode` suffices because the reader will see the full path in the next line.