function buildPayloadItemInfo($key, $item)
    {
        if (is_object($item)) {
            $key = ($this->getPayloadBuilderKey($item)) ? $this->getPayloadBuilderKey($item) : $key;
            $item = $this->makePayloadBuilder($item);
        }
        return array(
            'key' => $key,
            'item' => $item
        );
    }