Use JSON serialization for redis cache