public_endpoint serialization