Redmine#3279: add storejson() function

Acceptance test included.

Documentation to follow upon merge 

String size limited to `CF_BUFSIZE`.