Added support for nil *datastore.Key in the cache serialization.