actually make Cache serializable