Fixed json sending