RepositoryService: createResource now returns properly deserialized composite resources, updateResource now has separate logic and the ability to update a resource through createResource has been removed. Fixes Bug #35894