properly serialize new server format