Fixed issues with serialization of pings