replaced huge string with Category object for CategoryCard creation