fixes #553, fixes #575
passed the job status history as JSONArray instead of string
Merge pull request #577 from gauravgopi123/github-575

fixes #553, fixes #575