always output json as state info
Merge pull request #8 from ranjib/fix_sync_job_response

always output json as state info