Update getEssays with dict output