Why `items`? Why not `$payload[] = $this->renderItem($item, $resourceMetadata)`? Sounds broken