changed errors and unknown ids from sending empty list to sending empty json