Switch back to json_object_new_string, as json-c 0.10 has bug in ..string_len