Change AbstractStompClient::jsonEncode from private to protected.