Modifying the 'redis' caching driver so it to support storing arrays and objects.