Shell Script To Parse Json Error Status