actually finishing unifying resource io so that retrieve also returns a dictionary no matter what