Replace any entity, reduce memory usage in Geo by making keys mutable