Fixed json validation problem