Fixed json security vulnerability