Fix data JSON, and add fetchItemByCode to items