Add test to catch generation of malformed strings
Debugging spj_jsondata_object_add