fix edge serializer to return correct CacheEdge