Fixed CORE-2118 for While add a resource into the collection the itemType field should be collection.resource