Encode pong as json