handle error in json_object_add_member2()
fix stupid typo
fix string formatting