replaced deprecated 'json_object_object_get'