Fixed while editing a resource with in the collection contentItemId and parentItemId is same and itemData is twice in Payloadobject.