Add tree serializer to test262