returned string memory of json_object_get_string is managed by the
json_object and will be freed when the reference count of the
json_object drops to zero.
http://json-c.github.io/json-c/json-c-0.10/doc/html/json__object_8h.html#af3f38b3395b1af8e9d3ac73818c3a936