Make items an array of CollectionDocJson objects instead of stdClass