Serialize everything before trying to cache