rtree serialize