better casting of fetched dictionary values