Fix incorrect type in retrieve response