json format patch is returning first result for each request