Dict to store keys of array values to return item data. Get rid of excess return code