passed the job status history as JSONArray instead of string