Fix serializing and deserializing payload by JsonFormatter.